CVE-2026-50574
CRITICAL 9.6CVSS 3.1yt-dlp: Arbitrary code execution via manifest downloads with aria2c
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.
- Published
- 23 Jun 2026
- Last modified
- 20 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-74
- Also known as
- GHSA-vx4q-3cr2-7cg2PYSEC-2026-3433
- Sources
- NVDJSONOSV GHSA-vx4q-3cr2-7cg2JSONOSV PYSEC-2026-3433JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.3 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.3 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 8.3 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | yt-dlp_project | yt-dlpcpe:2.3:a:yt-dlp_project:yt-dlp:*:*:*:*:*:*:*:* |
< 2026.06.09 | 2026.06.09 |
| OSV | PyPI | yt-dlp | < 2026.6.9 | 2026.6.9 |
References
- https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-vx4q-3cr2-7cg2 · Mitigation, Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-50574 · ADVISORY
- https://github.com/yt-dlp/yt-dlp/commit/25056f0d2d47adbd235a8d422fa62d68d0be2bc2 · WEB
- https://github.com/advisories/GHSA-vx4q-3cr2-7cg2 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/yt-dlp/PYSEC-2026-3433.yaml · WEB
- https://github.com/yt-dlp/yt-dlp · PACKAGE
- https://github.com/yt-dlp/yt-dlp-nightly-builds/releases/tag/2026.06.09.230517 · WEB
- https://github.com/yt-dlp/yt-dlp/releases/tag/2026.06.09 · WEB
- https://pypi.org/project/yt-dlp · WEB, PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 23 Jun 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 16 Jun 2026)