yt-dlp is a command-line audio/video downloader. Prior to 2026.06.09, a vulnerability exists in yt-dlp that allows a remote attacker to write arbitrary OS-shortcut files (such as .desktop, .url, .webloc) to the user's filesystem, bypassing the remediation for CVE-2024-38519. The allowlist explicitly included the unsafe extensions .desktop, .url, and .webloc so that the functionality of the --write-link option (and its variants) could be preserved. These allowlist inclusions can be exploited by an attacker to write malicious OS-shortcut files in the context of a media or subtitles download. This vulnerability is fixed in 2026.06.09.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-641"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50023.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:yt-dlp_project:yt-dlp:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2026.06.09"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "e578e265f7c6ca94a74b30e0d8d6196a4d19fb6a"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "2026.06.09",
"range": [
{
"fixed": "7f7bdc974dc61d941d1a0d51c4e21a0fdb7b2d06"
}
],
"source": "REFERENCES_TAG"
}
]
}
{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "2026.06.09"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"original_tag": "2026.06.09.230517",
"range": [
{
"fixed": "496c0e4319db4359aebd8d3270b681c890cafa28"
}
],
"source": "REFERENCES_TAG"
}
]
}