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.
How to fix
- yt-dlp_project yt-dlp2026.07.04 or later
- yt-dlp2026.7.4 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| yt-dlp_project yt-dlp | v < 2026.07.04 | 2026.07.04 |
| yt-dlpPyPI | v < 2026.7.4 | 2026.7.4 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.