{"schemaVersion":3,"id":"CVE-2026-50023","aliases":["GHSA-c6mh-fpjc-4pr3","PYSEC-2026-3430","UBUNTU-CVE-2026-50023","DEBIAN-CVE-2026-50023"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-06-23T16:08:43.003Z","modified":"2026-06-25T13:45:44.576Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.6,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.3,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":8.3,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H","exploitability":4.1,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.6,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","exploitability":7.2,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.6,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","exploitability":7.2,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.6,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00665,"percentile":0.51136,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00665},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00665,"percentile":0.51136}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00665,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00665,"percentile":0.51136}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_YT-DLP_YT-DLP","name":"Yt Dlp","source":"github","url":"https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-42h4-v29r-42qg","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-641","name":"Improper Restriction of Names for Files and Other Resources","description":"The product constructs the name of a file or other resource using input from an upstream component, but it does not restrict or incorrectly restricts the resulting name.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"Low","url":"https://cwe.mitre.org/data/definitions/641.html"}],"affected":[{"vendor":"debian","product":"yt-dlp","name":"yt-dlp","label":"yt-dlp","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/yt-dlp","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 2026.06.09-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 2026.06.09-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"yt-dlp","name":"yt-dlp","label":"yt-dlp","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/yt-dlp","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"PyPI","product":"yt-dlp","name":"yt-dlp","label":"yt-dlp","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/yt-dlp","purlType":"pypi","versions":[{"text":"< 2026.6.9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2026.6.9","eol":null,"hubHref":null},{"vendor":"yt-dlp_project","product":"yt-dlp","name":"yt-dlp","label":"yt-dlp","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2026.06.09","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2026.06.09","eol":null,"hubHref":"/vendor/yt-dlp_project/yt-dlp"},{"vendor":"yt-dlp","product":"yt-dlp","name":"yt-dlp","label":"yt-dlp","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2026.06.09","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2026.06.09","eol":null,"hubHref":"/vendor/yt-dlp/yt-dlp"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-c6mh-fpjc-4pr3","label":"github.com/yt-dlp/yt-dlp/security/advisories/GHSA-c6mh-fpjc-4pr3","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Exploit","Mitigation","Patch","Vendor Advisory"]},{"url":"https://github.com/yt-dlp/yt-dlp/commit/e578e265f7c6ca94a74b30e0d8d6196a4d19fb6a","label":"github.com/yt-dlp/yt-dlp/commit/e578e265f7c6ca94a74b30e0d8d6196a4d19fb6a","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch"]},{"url":"https://github.com/yt-dlp/yt-dlp-nightly-builds/releases/tag/2026.06.09.230517","label":"github.com/yt-dlp/yt-dlp-nightly-builds/releases/tag/2026.06.09.230517","hostname":"github.com","tags":["X Refsource MISC","WEB","Product","Release Notes"]},{"url":"https://github.com/yt-dlp/yt-dlp/releases/tag/2026.06.09","label":"github.com/yt-dlp/yt-dlp/releases/tag/2026.06.09","hostname":"github.com","tags":["X Refsource MISC","WEB","Product","Release Notes"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38519","label":"nvd.nist.gov/vuln/detail/CVE-2024-38519","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50023","label":"nvd.nist.gov/vuln/detail/CVE-2026-50023","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/advisories/GHSA-c6mh-fpjc-4pr3","label":"github.com/advisories/GHSA-c6mh-fpjc-4pr3","hostname":"github.com","tags":["Advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/yt-dlp/PYSEC-2026-3430.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/yt-dlp/PYSEC-2026-3430.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/yt-dlp/yt-dlp","label":"github.com/yt-dlp/yt-dlp","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pypi.org/project/yt-dlp","label":"pypi.org/project/yt-dlp","hostname":"pypi.org","tags":["WEB","PACKAGE"]},{"url":"https://ubuntu.com/security/CVE-2026-50023","label":"ubuntu.com/security/CVE-2026-50023","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-50023","label":"www.cve.org/CVERecord?id=CVE-2026-50023","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-50023","label":"security-tracker.debian.org/tracker/CVE-2026-50023","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["MGASA-2026-0234","OPENSUSE-SU-2026:11019-1","OPENSUSE-SU-2026:21163-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:11019-1","OPENSUSE-SU-2026:21163-1"]},"timeline":[{"kind":"published","date":"2026-06-23T16:08:43.003Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-06-25T13:45:44.576Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T12:34:31.422Z","stale":false,"partial":false}}