# CVE-2026-50574: yt-dlp: Arbitrary code execution via manifest downloads with aria2c

- Severity: High 8.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 32% of CVEs (2026-11-30)
- Published: 2026-06-16T21:13:47.000Z
- Modified: 2026-07-20T14:00:25.705Z
- Also known as: GHSA-vx4q-3cr2-7cg2, PYSEC-2026-3433
- Weaknesses: CWE-74
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- yt-dlp yt-dlp: < 2026.06.09
- yt-dlp (PyPI): before 2026.6.9
- yt-dlp_project yt-dlp: before 2026.06.09

## Every score

- GitHub_M: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H`

## 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> (package, web)

## Sources

- CVE List: [CVE-2026-50574](https://www.cve.org/CVERecord?id=CVE-2026-50574), CVE Terms of Use, modified 2026-06-25
- GitHub Advisory Database: [GHSA-vx4q-3cr2-7cg2](https://github.com/advisories/GHSA-vx4q-3cr2-7cg2), CC-BY-4.0, modified 2026-07-20
- NVD: [CVE-2026-50574](https://nvd.nist.gov/vuln/detail/CVE-2026-50574), Public domain, modified 2026-06-26
- PyPA Advisory Database: [PYSEC-2026-3433](https://osv.dev/vulnerability/PYSEC-2026-3433), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-50574 · Whole record: https://cve.day/CVE-2026-50574.json · Rebuilt by cve.day 2026-11-25T22:59:25.483Z
