Vulnerability · Published Jun 23, 2026 · Assigned by GitHub_M
CVE-2026-50574yt-dlp: Arbitrary code execution via manifest downloads with aria2c
High 8.3
In plain English
A high-severity injection in yt-dlp from yt-dlp. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | yt-dlp | no fix listed | DEBIAN-CVE-2026-50574 |
| Debian:13 | yt-dlp | no fix listed | DEBIAN-CVE-2026-50574 |
| Debian:14 | yt-dlp | 2026.06.09-1 | DEBIAN-CVE-2026-50574 |
| PyPI | yt-dlp | 2026.6.9 | GHSA-vx4q-3cr2-7cg2 |
| PyPI | yt-dlp | 2026.6.9 | PYSEC-2026-3433 |
| Ubuntu:22.04:LTS | yt-dlp | no fix listed | UBUNTU-CVE-2026-50574 |
| Ubuntu:24.04:LTS | yt-dlp | no fix listed | UBUNTU-CVE-2026-50574 |
| Ubuntu:25.10 | yt-dlp | no fix listed | UBUNTU-CVE-2026-50574 |
| Ubuntu:26.04:LTS | yt-dlp | no fix listed | UBUNTU-CVE-2026-50574 |
| Ubuntu:26.10 | yt-dlp | no fix listed | UBUNTU-CVE-2026-50574 |
Affected products (as reported)
Weakness: CWE-74 · Vector: 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 x_refsource_CONFIRM