{"id":"CVE-2026-50574","published":"2026-06-23T16:09:18Z","modified":"2026-06-25T03:55:47Z","title":"yt-dlp: Arbitrary code execution via manifest downloads with aria2c","vendor":"yt-dlp","product":"yt-dlp","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00465,"percentile":0.41126,"provenance":"source"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"references":[{"url":"https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-vx4q-3cr2-7cg2","tags":["x_refsource_CONFIRM"]}],"priority":{"score":14.0,"factors":[{"name":"EPSS percentile","points":8.23},{"name":"CVSS severity","points":5.81}]},"vendorSlug":"yt-dlp","affectedVersions":[{"vendor":"yt-dlp","product":"yt-dlp","versions":["< 2026.06.09"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-06-24T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"yt-dlp","vulnerableRanges":["<2026.6.9"],"patched":["2026.6.9"],"from":["GHSA-vx4q-3cr2-7cg2","PYSEC-2026-3433"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-38495","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-yt-dlp-cve-2023-35934","parents":[{"from":"CVE-2023-35934","to":"CVE-2026-50574","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["yt_dlp/downloader/external.py"],"commits":["https://github.com/yt-dlp/yt-dlp/commit/1ceb657bdd254ad961489e5060f2ccc7d556b729","https://github.com/yt-dlp/yt-dlp/commit/3121512228487c9c690d3d39bfd2579addf96e07","https://github.com/yt-dlp/yt-dlp/commit/25056f0d2d47adbd235a8d422fa62d68d0be2bc2"],"basis":"shared function","functions":["_make_cmd"]}]},{"from":"CVE-2026-50019","to":"CVE-2026-50574","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["yt_dlp/downloader/external.py"],"commits":["https://github.com/yt-dlp/yt-dlp/commit/2726572520238356bcf64aba2040228648b44c82","https://github.com/yt-dlp/yt-dlp/commit/25056f0d2d47adbd235a8d422fa62d68d0be2bc2"],"basis":"shared function","functions":["_make_cmd"]}]}],"packageHistory":[{"cve":"CVE-2026-26331","published":"2026-02-24","fixed":"2026.02.21","kev":false,"link":{"from":"CVE-2026-26331","to":"CVE-2026-50574","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:yt-dlp","fromFixed":"2026.02.21","toFixed":"2026.6.9","daysApart":119}]}},{"cve":"CVE-2026-50019","published":"2026-06-23","fixed":"2026.6.9","kev":false},{"cve":"CVE-2026-50023","published":"2026-06-23","fixed":"2026.6.9","kev":false},{"cve":"CVE-2026-50574","published":"2026-06-23","fixed":"2026.6.9","kev":false},{"cve":"CVE-2026-55404","published":"2026-07-08","fixed":"2026.7.4","kev":false}],"package":"PyPI:yt-dlp"}}