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.
CVE-2026-50023
This critical-severity CVE scores 9.6 under NVD CVSS v3. EPSS exploit probability: 0.6%, top 57% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 9.6
- EG Score
- 9.6(medium)
- EG Risk
- —
- EPSS
- 42.9%
- KEV
- Not listed
Published
June 16, 2026
Last Modified
June 26, 2026
Advisory Details (4)
Auto-updated Jun 23, 2026Dangerous file type creation via insufficient filename sanitization in yt-dlp (Bypass of CVE-2024-38519) · Advisory · yt-dlp/yt-dlp · GitHub
https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-c6mh-fpjc-4pr3yt-dlp 2026.06.09
Patch available: yt-dlp/yt-dlp 2026.06.09
https://github.com/yt-dlp/yt-dlp/releases/tag/2026.06.09commit e578e265f7c6 (yt-dlp/yt-dlp)
Fix landed in yt-dlp/yt-dlp commit e578e265f7c6 — awaiting tagged release
https://github.com/yt-dlp/yt-dlp/commit/e578e265f7c6ca94a74b30e0d8d6196a4d19fb6ayt-dlp nightly 2026.06.09.230517
Patch available: yt-dlp/yt-dlp-nightly-builds 2026.06.09.230517
https://github.com/yt-dlp/yt-dlp-nightly-builds/releases/tag/2026.06.09.230517Vendor Advisories for CVE-2026-50023(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
PyPI(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| yt-dlp | 2021.1.15 ... 2026.6.6.234447.dev0 (596 versions) | 2026.6.9 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 8× in last 7d / 39× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-21 15:25 UTCEPSS rescore
- 2026-07-20 17:08 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 02:29 UTCEPSS rescore
- 2026-07-18 10:04 UTCEPSS rescore
- 2026-07-16 17:03 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-13 22:31 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
Show 15 moreShow fewer
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-01 15:07 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-26 23:02 UTCEG score recompute▲ 1.30
- 2026-06-26 21:42 UTCNVD updateCVSS v3 → 9.6 · severity → CRITICAL
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-24 14:05 UTCEPSS rescore
- 2026-06-16 21:06 UTCEG score recompute
Frequently asked(5)
What is CVE-2026-50023?
When was CVE-2026-50023 disclosed?
Is CVE-2026-50023 actively exploited?
What is the CVSS score of CVE-2026-50023?
How do I remediate CVE-2026-50023?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-50023
Is Your Infrastructure Affected by CVE-2026-50023?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.