CVE-2026-50023: yt-dlp · Dangerous file type creation via insufficient filename sanitization (Bypass of CVE-2024-38519)
Affects scdlSource GCVE Database
Mentioned vulnerabilities
Not known to be exploited · CVSS 8.3 High : upgrade to 3.0.6 soon.
Data as of 26 Oct 2026, 17:58 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 51% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.0.6
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 13 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade scdl to 3.0.6.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewscdlpkg:brew/scdlOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade yt-dlp to version 3.0.6 or later, which fixes the vulnerability by removing unsafe shortcut extensions from the global allowlist and restricting their use. Users unable to upgrade should only use fully trusted input URLs, avoid using --write-subs, --write-auto-subs, --embed-subs, --write-thumbnail, --write-all-thumbnails, and --embed-thumbnail options, and use --format - to manually select and validate download formats.
Description
A vulnerability in yt-dlp allows attackers to write arbitrary OS-shortcut files (.desktop, .url, .webloc) to the user's filesystem by bypassing the previous fix for CVE-2024-38519. This occurs because the allowlist for file extensions included unsafe shortcut extensions to preserve functionality, which can be exploited via crafted media manifests. The malicious shortcut files can deceive users into executing arbitrary commands or phishing attacks. The issue is fixed in yt-dlp version 3.0.6.
References
- github.com/yt-dlp/yt-dlp/security/advisories/GHSA-c6mh-fpjc-4pr3 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2024-38519 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-50023 (opens in a new tab)
- github.com/yt-dlp/yt-dlp/commit/e578e265f7c6ca94a74b30e0d8d6196a4d19fb6a (opens in a new tab)
- github.com/advisories/GHSA-c6mh-fpjc-4pr3 (opens in a new tab)
- github.com/pypa/advisory-database/tree/main/vulns/yt-dlp/PYSEC-2026-3430.yaml (opens in a new tab)
- github.com/yt-dlp/yt-dlp (opens in a new tab)
- github.com/yt-dlp/yt-dlp-nightly-builds/releases/tag/2026.06.09.230517 (opens in a new tab)
- github.com/yt-dlp/yt-dlp/releases/tag/2026.06.09 (opens in a new tab)
- pypi.org/project/yt-dlp (opens in a new tab)