CVE-2026-55404
HIGH 8.8CVSS 3.1yt-dlp: Downstream command injection via improper sanitization of yt-dlp --write-link output
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
- 8 Jul 2026
- Last modified
- 4 Aug 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-74
- Also known as
- GHSA-6v4j-43gg-vj32PYSEC-2026-3622
- Sources
- NVDJSONOSV GHSA-6v4j-43gg-vj32JSONOSV PYSEC-2026-3622JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | yt-dlp_project | yt-dlpcpe:2.3:a:yt-dlp_project:yt-dlp:*:*:*:*:*:*:*:* |
< 2026.07.04 | 2026.07.04 |
| OSV | PyPI | yt-dlp | < 2026.7.4 | 2026.7.4 |
References
- https://github.com/yt-dlp/yt-dlp/commit/b6590aaa1e3808155d69c9a79a797ae484163789 · Patch, WEB
- https://github.com/yt-dlp/yt-dlp/releases/tag/2026.07.04 · Product, Release Notes, WEB
- https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-6v4j-43gg-vj32 · Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-55404 · ADVISORY
- https://github.com/yt-dlp/yt-dlp/commit/6fc85f617a5850307fd5b258477070e6ee177796 · WEB
- https://github.com/yt-dlp/yt-dlp · PACKAGE
- https://github.com/yt-dlp/yt-dlp-nightly-builds/releases/tag/2026.07.04.221833 · WEB
- https://pypi.org/project/yt-dlp · PACKAGE
- https://github.com/advisories/GHSA-6v4j-43gg-vj32 · ADVISORY
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 8 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 4 Aug 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 Jul 2026)