CVE-2026-50574 json
yt-dlp: Arbitrary code execution via manifest downloads with aria2c
published 5mo ago modified 3mo ago also EUVD-2026-38495 , GHSA-vx4q-3cr2-7cg2 , PYSEC-2026-3433
- cvss
- 8.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 40%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi yt-dlp 2026.6.9
- youtube-dlc_project youtube-dlc 2026.06.09
- yt-dl youtube-dl 2026.06.09
- yt-dlp-nightly-builds_project yt-dlp-nightly-builds 2026.06.09
- yt-dlp_project yt-dlp 2026.06.09
- yt-dlp Debian 14 2026.06.09-1
debian advisories DEBIAN-CVE-2026-50574
- yt-dlp openSUSE Leap 16.0 2026.06.09-bp160.1.1
- yt-dlp openSUSE Tumbleweed 2026.06.09-1.1
opensuse advisories openSUSE-SU-2026:21163-1openSUSE-SU-2026:11019-1
Is CVE-2026-50574 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-50574 updated cvss 9.6
yt-dlp: arbitrary code execution via manifest downloads with aria2c
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 4mo ago
Exploit prediction
0.47% chance of exploitation in the next 30 days, higher than 40% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.3 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H |
| GitHub | 3.1 | 8.3 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H |
| NVD | 3.1 | 9.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| OSV | 3.1 | 8.3 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | yt-dlp | <2026.6.9 |
2026.6.9 |
Affected products
- yt-dlp yt-dlp
Classification
- Weakness
-
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
References
-
github.com
/yt-dlp/yt-dlp/security/advisories/GHSA-vx4q-3cr2-7cg2
web, mitigation, patch, vendor-advisory, advisory
-
github.com
/yt-dlp/yt-dlp/commit/25056f0d2d47adbd235a8d422fa62d68d0be2bc2
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-50574
advisory
-
github.com
/advisories/GHSA-vx4q-3cr2-7cg2
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/yt-dlp/PYSEC-2026-3433.yaml
web
-
github.com
/yt-dlp/yt-dlp
package
-
github.com
/yt-dlp/yt-dlp-nightly-builds/releases/tag/2026.06.09.230517
web
-
github.com
/yt-dlp/yt-dlp/releases/tag/2026.06.09
web
-
pypi.org
/project/yt-dlp
web, package
Sources
- CVE List CVE-2026-50574
- GitHub Advisory GHSA-vx4q-3cr2-7cg2
- NVD CVE-2026-50574
- OSV PYSEC-2026-3433
- Maintainer advisory GHSA-vx4q-3cr2-7cg2
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of yt-dlp/yt-dlp published their own advisory on GitHub. Reviewed sources take precedence over it.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.