CVE-2026-55404Yt-dlp Project Yt-dlp
High 8.8 No auth needed
Follow: this CVE · Yt-dlp Project · Yt-dlp Project Yt-dlp We alert you by email or Slack (account required).
- Priority
- 68
- CVSS 3.1
- 8.8
- EPSS
- —
- Auth required
- No
- Published
- Jul 8, 2026
- Updated
- Jul 13, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-74
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Yt-dlp.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | yt-dlp |
< 2026.7.4 |
2026.7.4 |
pip install "yt-dlp>=2026.7.4" |
| PyPI | yt-dlp |
< 2026.7.4 |
2026.7.4 |
pip install "yt-dlp>=2026.7.4" |
Per OSV / GitHub Advisories (GHSA-6v4j-43gg-vj32, PYSEC-2026-3622). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| yt-dlp_project | yt-dlp | < 2026.07.04 |
Official advisories
- Security update for yt-dlp · SUSE · openSUSE-SU-2026:22142-1 · Oct 20, 2026 High
- python313-yt-dlp-2026.07.04-1.1 on GA media · SUSE · openSUSE-SU-2026:11196-1 · Jul 6, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Product Release Notes
- github.com Mitigation Vendor Advisory