{"id":"CVE-2026-55404","aliases":["GHSA-6v4j-43gg-vj32","PYSEC-2026-3622"],"url":"https://o3.security/vulnerability/CVE-2026-55404","summary":"yt-dlp: Downstream command injection via improper sanitization of yt-dlp --write-link output","details":"yt-dlp and youtube-dl are command-line audio/video downloaders. Prior to 2026.7.4, the --write-link, --write-url-link, and --write-desktop-link options can write .url or .desktop shortcut files using attacker-controlled webpage_url or filename metadata without sufficient validation or escaping, allowing malicious file:// URI injection on Windows or newline-based desktop entry key injection on Linux that can execute commands if the generated shortcut is opened. This issue is fixed in version 2026.7.4.","published":"2026-07-08T19:36:48.792Z","modified":"2026-08-12T03:51:14.418515400Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"yt-dlp","fixedVersion":"2026.7.4"}],"fix":{"url":"https://github.com/yt-dlp/yt-dlp/commit/b6590aaa1e3808155d69c9a79a797ae484163789","label":"yt-dlp/yt-dlp@b6590aa"},"references":[{"type":"WEB","url":"https://github.com/yt-dlp/yt-dlp/releases/tag/2026.07.04"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55404.json"},{"type":"ADVISORY","url":"https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-6v4j-43gg-vj32"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55404"},{"type":"FIX","url":"https://github.com/yt-dlp/yt-dlp/commit/b6590aaa1e3808155d69c9a79a797ae484163789"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:14.418515400Z"}}