Vulnerability
CVE-2026-50574
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.
6 advisories report this vulnerability, across 4 ecosystems.
Advisories in PyPI
-
GHSA-vx4q-3cr2-7cg2
yt-dlp: Arbitrary code execution via manifest downloads with aria2c
-
PYSEC-2026-3433
yt-dlp: Arbitrary code execution via manifest downloads with aria2c