CVE-2026-50574
yt-dlp is a command-line audio/video downloader. Prior to …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/yt-dlp/yt-dlp/security/advisories/GHSA-vx4q-3cr2-7cg2
- github.com/yt-dlp/yt-dlp/commit/25056f0d2d47adbd235a8d422fa62d68d0be2bc2
- github.com/yt-dlp/yt-dlp-nightly-builds/releases/tag/2026.06.09.230517
- github.com/yt-dlp/yt-dlp/releases/tag/2026.06.09
- github.com/advisories/GHSA-vx4q-3cr2-7cg2
- nvd.nist.gov/vuln/detail/CVE-2026-50574
- github.com/pypa/advisory-database/tree/main/vulns/yt-dlp/PYSEC-2026-3433.yaml
- github.com/yt-dlp/yt-dlp
- nvd.nist.gov/vuln/detail/CVE-2026-50574
- cve.org/CVERecord?id=CVE-2026-50574
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.