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.
References
Link Resource
https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-vx4q-3cr2-7cg2 Mitigation Patch Vendor Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:yt-dlp_project:yt-dlp:*:*:*:*:*:*:*:*

History

No history.

Information

Published : 2026-06-23 17:17

Updated : 2026-06-26 20:11


NVD link : CVE-2026-50574

Mitre link : CVE-2026-50574

CVE.ORG link : CVE-2026-50574


JSON object : View

Products Affected

yt-dlp_project

  • yt-dlp
CWE
CWE-74

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')