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 58% 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)
- EPSS
- 42.3%
- 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 45× in last 7d / 96× 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-07 02:49 UTCEG score recompute
- 2026-07-06 22:58 UTCEG score recompute
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 07:34 UTCEG score recompute
- 2026-07-06 03:42 UTCEG score recompute
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 00:00 UTCEG score recompute
- 2026-07-05 20:18 UTCEG score recompute
- 2026-07-05 16:35 UTCEG score recompute
- 2026-07-05 12:31 UTCEG score recompute
- 2026-07-05 08:41 UTCEG score recompute
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-05 01:57 UTCEG score recompute
- 2026-07-04 22:12 UTCEG score recompute
- 2026-07-04 18:29 UTCEG score recompute
- 2026-07-04 12:45 UTCEG score recompute
- 2026-07-04 09:01 UTCEG score recompute
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 00:53 UTCEG score recompute
- 2026-07-03 21:08 UTCEG score recompute
- 2026-07-03 17:26 UTCEG score recompute
- 2026-07-03 13:44 UTCEG score recompute
- 2026-07-03 08:38 UTCEG score recompute
- 2026-07-03 04:56 UTCEG score recompute
- 2026-07-03 00:42 UTCEG score recompute
Show 71 moreShow fewer
- 2026-07-02 21:01 UTCEG score recompute
- 2026-07-02 17:18 UTCEG score recompute
- 2026-07-02 13:27 UTCEG score recompute
- 2026-07-02 09:45 UTCEG score recompute
- 2026-07-02 06:03 UTCEG score recompute
- 2026-07-02 02:20 UTCEG score recompute
- 2026-07-01 22:38 UTCEG score recompute
- 2026-07-01 18:32 UTCEG score recompute
- 2026-07-01 15:07 UTCEPSS rescore
- 2026-07-01 14:49 UTCEG score recompute
- 2026-07-01 11:07 UTCEG score recompute
- 2026-07-01 07:25 UTCEG score recompute
- 2026-07-01 03:42 UTCEG score recompute
- 2026-06-30 23:57 UTCEG score recompute
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 20:14 UTCEG score recompute
- 2026-06-30 16:32 UTCEG score recompute
- 2026-06-30 12:50 UTCEG score recompute
- 2026-06-30 08:45 UTCEG score recompute
- 2026-06-30 05:03 UTCEG score recompute
- 2026-06-30 01:18 UTCEG score recompute
- 2026-06-29 21:36 UTCEG score recompute
- 2026-06-29 17:52 UTCEG score recompute
- 2026-06-29 14:08 UTCEG score recompute
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 10:26 UTCEG score recompute
- 2026-06-29 06:43 UTCEG score recompute
- 2026-06-29 03:00 UTCEG score recompute
- 2026-06-28 23:17 UTCEG score recompute
- 2026-06-28 19:35 UTCEG score recompute
- 2026-06-28 15:53 UTCEG score recompute
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 12:11 UTCEG score recompute
- 2026-06-28 08:27 UTCEG score recompute
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 04:45 UTCEG score recompute
- 2026-06-28 01:03 UTCEG score recompute
- 2026-06-27 21:17 UTCEG score recompute
- 2026-06-27 17:35 UTCEG score recompute
- 2026-06-27 13:52 UTCEG score recompute
- 2026-06-27 10:10 UTCEG score recompute
- 2026-06-27 06:28 UTCEG score recompute
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-27 02:46 UTCEG score recompute
- 2026-06-26 23:02 UTCEG score recompute▲ 1.30
- 2026-06-26 21:42 UTCNVD updateCVSS v3 → 9.6 · severity → CRITICAL
- 2026-06-26 11:49 UTCEG score recompute
- 2026-06-25 19:25 UTCEG score recompute
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 08:12 UTCEG score recompute
- 2026-06-24 21:00 UTCEG score recompute
- 2026-06-24 14:05 UTCEPSS rescore
- 2026-06-24 09:47 UTCEG score recompute
- 2026-06-23 22:29 UTCEG score recompute
- 2026-06-23 11:15 UTCEG score recompute
- 2026-06-22 23:57 UTCEG score recompute
- 2026-06-22 12:33 UTCEG score recompute
- 2026-06-22 01:21 UTCEG score recompute
- 2026-06-21 13:58 UTCEG score recompute
- 2026-06-21 02:35 UTCEG score recompute
- 2026-06-20 15:18 UTCEG score recompute
- 2026-06-20 04:02 UTCEG score recompute
- 2026-06-19 16:48 UTCEG score recompute
- 2026-06-19 05:34 UTCEG score recompute
- 2026-06-18 18:12 UTCEG score recompute
- 2026-06-18 06:49 UTCEG score recompute
- 2026-06-17 19:31 UTCEG score recompute
- 2026-06-17 08:19 UTCEG score recompute
- 2026-06-16 21:06 UTCEG score recompute
Related CVEs(same CWE)
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.