{"cve":"CVE-2026-50023","nvd":{"published":"2026-06-23T17:17:03.000","modified":"2026-06-26T20:12:25.540","status":"Analyzed","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-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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":9.6},"cwes":["CWE-641"],"references":["https://github.com/yt-dlp/yt-dlp-nightly-builds/releases/tag/2026.06.09.230517","https://github.com/yt-dlp/yt-dlp/commit/e578e265f7c6ca94a74b30e0d8d6196a4d19fb6a","https://github.com/yt-dlp/yt-dlp/releases/tag/2026.06.09","https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-c6mh-fpjc-4pr3"],"products":["yt-dlp_project:yt-dlp"],"source":"nvd","synced_at":"2026-10-19T22:39:28.638635428+00:00"},"epss":{"cve":"CVE-2026-50023","score":0.00665,"percentile":0.51801,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-c6mh-fpjc-4pr3","url":"https://osv.dev/vulnerability/GHSA-c6mh-fpjc-4pr3","summary":"yt-dlp: Dangerous file type creation via insufficient filename sanitization (Bypass of CVE-2024-38519)","modified":"2026-07-20T14:00:25.569571480Z","packages":[{"ecosystem":"PyPI","name":"yt-dlp","purl":"pkg:pypi/yt-dlp","ranges":["<2026.6.9"],"fixed":["2026.6.9"]}]},{"id":"PYSEC-2026-3430","url":"https://osv.dev/vulnerability/PYSEC-2026-3430","summary":"yt-dlp: Dangerous file type creation via insufficient filename sanitization (Bypass of CVE-2024-38519)","modified":"2026-07-13T16:33:27.879980652Z","packages":[{"ecosystem":"PyPI","name":"yt-dlp","purl":"pkg:pypi/yt-dlp","ranges":["<2026.6.9"],"fixed":["2026.6.9"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}