High severity · published Jul 8, 2026
CVE-2026-55404
yt-dlp: Downstream command injection via improper sanitization of yt-dlp --write-link output
8.8
CVSS
0.6%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 50% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
YT
yt-dlp · yt-dlp
< 2026.7.4 · source: vendor, NVD
Affected product
YT
yt-dlp
yt-dlp
More from yt-dlp
9.6
CVE-2026-50574
yt-dlp: Arbitrary code execution via manifest downloads with aria2c
9.6
CVE-2026-50023
yt-dlp: Dangerous file type creation via insufficient filename sanitization (Bypass of CVE-2024-38519)
8.8
CVE-2026-26331
yt-dlp: Arbitrary Command Injection when using the `--netrc-cmd` option
7.4
CVE-2026-50019
yt-dlp: File Downloader cookie leak with curl