{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-50023","id":"CVE-2026-50023","title":"yt-dlp: Dangerous file type creation via insufficient filename sanitization (Bypass of CVE-2024-38519)","description":"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","descriptionLong":"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.","published":"2026-06-23T16:08:43.003Z","updated":"2026-10-28T02:30:57.486948827Z","reserved":"2026-06-02T22:46:02.579Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":8.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":8.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":8.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":8.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":8.3,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["yt-dlp"],"affectedProducts":[{"vendor":"yt-dlp","product":"yt-dlp","defaultStatus":null,"versions":[{"version":"< 2026.06.09","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"yt-dlp","purl":"pkg:pypi/yt-dlp","ranges":["<2026.6.9"],"fixed":["2026.6.9"],"advisory":"GHSA-c6mh-fpjc-4pr3"}],"cwes":["CWE-641"],"aliases":["GHSA-c6mh-fpjc-4pr3","PYSEC-2026-3430"],"references":[{"url":"https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-c6mh-fpjc-4pr3","tags":["x_refsource_CONFIRM","Exploit","Mitigation","Patch","Vendor Advisory","advisory","web"]},{"url":"https://github.com/yt-dlp/yt-dlp/commit/e578e265f7c6ca94a74b30e0d8d6196a4d19fb6a","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/yt-dlp/yt-dlp-nightly-builds/releases/tag/2026.06.09.230517","tags":["x_refsource_MISC","Product","Release Notes","web"]},{"url":"https://github.com/yt-dlp/yt-dlp/releases/tag/2026.06.09","tags":["x_refsource_MISC","Product","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50023.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50023","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38519","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-c6mh-fpjc-4pr3","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/yt-dlp/PYSEC-2026-3430.yaml","tags":["web"]},{"url":"https://github.com/yt-dlp/yt-dlp","tags":["package"]},{"url":"https://pypi.org/project/yt-dlp","tags":["web","package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.00665,"epssPercentile":0.52579,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-50023","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50023","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-50023","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-c6mh-fpjc-4pr3","ok":true,"note":"GHSA-c6mh-fpjc-4pr3"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-50023","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}