CVE-2026-50574Yt-dlp Project Yt-dlp
Critical 9.6 No auth needed
Follow: this CVE · Yt-dlp Project · Yt-dlp Project Yt-dlp We alert you by email or Slack (account required).
- Priority
- 73
- CVSS 3.1
- 9.6
- EPSS
- —
- Auth required
- No
- Published
- Jun 23, 2026
- Updated
- Jun 26, 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:C/C:H/I:H/A:H
What happens
yt-dlp is a command-line audio/video downloader. Prior to 2026.06.09, if aria2c is used as an external downloader for a fragmented manifest format (such as an HLS/DASH stream), yt-dlp passes insufficiently sanitized input to aria2c that allows an attacker to perform an arbitrary file write. On Windows platforms, this can lead to immediate arbitrary code execution. On non-Windows platforms, this can lead to arbitrary code execution upon the next invocation of yt-dlp. This vulnerability is fixed in 2026.06.09.
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.6.9 |
2026.6.9 |
pip install "yt-dlp>=2026.6.9" |
| PyPI | yt-dlp |
< 2026.6.9 |
2026.6.9 |
pip install "yt-dlp>=2026.6.9" |
Per OSV / GitHub Advisories (GHSA-vx4q-3cr2-7cg2, PYSEC-2026-3433). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| yt-dlp_project | yt-dlp | < 2026.06.09 |
Official advisories
- Security update for yt-dlp · SUSE · openSUSE-SU-2026:21163-1 · Jun 29, 2026 Critical
- python313-yt-dlp-2026.06.09-1.1 on GA media · SUSE · openSUSE-SU-2026:11019-1 · Jun 12, 2026 Critical
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 Mitigation Patch Vendor Advisory