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.

Severity (CVSS 3.1)8.3High
Exploit odds (30 days)0.5%top 59.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12yt-dlpno fix listedDEBIAN-CVE-2026-50574
Debian:13yt-dlpno fix listedDEBIAN-CVE-2026-50574
Debian:14yt-dlp2026.06.09-1DEBIAN-CVE-2026-50574
PyPIyt-dlp2026.6.9GHSA-vx4q-3cr2-7cg2
PyPIyt-dlp2026.6.9PYSEC-2026-3433
Ubuntu:22.04:LTSyt-dlpno fix listedUBUNTU-CVE-2026-50574
Ubuntu:24.04:LTSyt-dlpno fix listedUBUNTU-CVE-2026-50574
Ubuntu:25.10yt-dlpno fix listedUBUNTU-CVE-2026-50574
Ubuntu:26.04:LTSyt-dlpno fix listedUBUNTU-CVE-2026-50574
Ubuntu:26.10yt-dlpno fix listedUBUNTU-CVE-2026-50574

Affected products (as reported)

VendorProductVersions
yt-dlp yt-dlp < 2026.06.09

Weakness: CWE-74 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

References