yt-dlp: Downstream command injection via improper sanitization of yt-dlp --write-link output
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| yt-dlp | yt-dlp | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Yt-dlp | Yt-dlp |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-6v4j-43gg-vj32 | yt-dlp: Downstream command injection via improper sanitization of yt-dlp --write-link output |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.640% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Yt-dlp
Yt-dlp yt-dlp |
|
| Vendors & Products |
Yt-dlp
Yt-dlp yt-dlp |
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | yt-dlp: Downstream command injection via improper sanitization of yt-dlp --write-link output | |
| Weaknesses | CWE-74 | |
| References |
| |
| Metrics |
cvssV3_1
|