High severity7.5OSV Advisory· Published Jul 8, 2026· Updated Jul 13, 2026
CVE-2026-55404
CVE-2026-55404
Description
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
yt-dlpPyPI | < 2026.7.4 | 2026.7.4 |
Affected products
5- Range: <2026.7.4
Patches
Vulnerability mechanics
References
7- github.com/yt-dlp/yt-dlp/commit/b6590aaa1e3808155d69c9a79a797ae484163789nvdPatchWEB
- github.com/advisories/GHSA-6v4j-43gg-vj32ghsaADVISORY
- github.com/yt-dlp/yt-dlp/security/advisories/GHSA-6v4j-43gg-vj32nvdMitigationVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2026-55404ghsaADVISORY
- github.com/yt-dlp/yt-dlp-nightly-builds/releases/tag/2026.07.04.221833ghsaWEB
- github.com/yt-dlp/yt-dlp/commit/6fc85f617a5850307fd5b258477070e6ee177796ghsaWEB
- github.com/yt-dlp/yt-dlp/releases/tag/2026.07.04nvdProductRelease NotesWEB
News mentions
0No linked articles in our index yet.