<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://cve.radiocsirt.org</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Wed, 28 Oct 2026 04:23:58 +0000</lastBuildDate>
    <item>
      <title>GHSA-69qj-pvh9-c5wg — yt-dlp: Arbitrary command injection possible if --exec option used with yt-dlp</title>
      <link>https://cve.radiocsirt.org/vuln/ghsa-69qj-pvh9-c5wg</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: yt-dlp&lt;/p&gt;
&lt;p&gt;### Summary
yt-dlp&amp;#39;s `--exec` option is vulnerable to arbitrary command injection when handling untrusted metadata if the argument uses standard string formatting (e.g. `%(title)s`) or other unsafe conversions. An attacker could achieve remote code execution on the user&amp;#39;s machine via maliciously crafted metadata containing quotes or other special shell characters.&lt;/p&gt;
&lt;p&gt;### Details
Since yt-dlp version 2021.04.11, the `--exec` option has supported &amp;#34;output template syntax&amp;#34;, which is a superset of Python&amp;#39;s `printf`-style string formatting also used by the `--output` option. This means the user is able to pass a &amp;#34;command template&amp;#34; as an argument to the `--exec` option which will be executed by the user&amp;#39;s shell. The command template allows for the downloaded video&amp;#39;s metadata to be interpolated into the command string.&lt;/p&gt;
&lt;p&gt;yt-dlp implements a `%()q` conversion, which will shell-quote/escape any metadata value such that it is safe to be interpolated into a command string. However, there are unsafe conversions such as `%()s` which result in the command template being formatted with the raw metadata string. These unsafe conversions do not perform any sanitization or escaping for shell contexts. If one or more of these unsafe conversions is used in the command template, an attacker can craft a malicious metadata value containing shell operators (e.g. `;`, `&amp;amp;`, `|`) to break out of the intended command and execute payload commands.&lt;/p&gt;
&lt;p&gt;### Impact&lt;/p&gt;
&lt;p&gt;The impact is limited to users who pass an `--ex…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: yt-dlp&lt;/p&gt;
&lt;p&gt;### Summary
yt-dlp&amp;#39;s `--exec` option is vulnerable to arbitrary command injection when handling untrusted metadata if the argument uses standard string formatting (e.g. `%(title)s`) or other unsafe conversions. An attacker could achieve remote code execution on the user&amp;#39;s machine via maliciously crafted metadata containing quotes or other special shell characters.&lt;/p&gt;
&lt;p&gt;### Details
Since yt-dlp version 2021.04.11, the `--exec` option has supported &amp;#34;output template syntax&amp;#34;, which is a superset of Python&amp;#39;s `printf`-style string formatting also used by the `--output` option. This means the user is able to pass a &amp;#34;command template&amp;#34; as an argument to the `--exec` option which will be executed by the user&amp;#39;s shell. The command template allows for the downloaded video&amp;#39;s metadata to be interpolated into the command string.&lt;/p&gt;
&lt;p&gt;yt-dlp implements a `%()q` conversion, which will shell-quote/escape any metadata value such that it is safe to be interpolated into a command string. However, there are unsafe conversions such as `%()s` which result in the command template being formatted with the raw metadata string. These unsafe conversions do not perform any sanitization or escaping for shell contexts. If one or more of these unsafe conversions is used in the command template, an attacker can craft a malicious metadata value containing shell operators (e.g. `;`, `&amp;amp;`, `|`) to break out of the intended command and execute payload commands.&lt;/p&gt;
&lt;p&gt;### Impact&lt;/p&gt;
&lt;p&gt;The impact is limited to users who pass an `--ex…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/ghsa-69qj-pvh9-c5wg</guid>
    </item>
  </channel>
</rss>
