Skip to content
Fencer Vulns
high 8.3

CVE-2026-50023 json

yt-dlp: Dangerous file type creation via insufficient filename sanitization (Bypass of CVE-2024-38519)

published 2026-06-16 4 mo ago modified 2026-07-20 3 mo ago also EUVD-2026-38493 , GHSA-c6mh-fpjc-4pr3 , PYSEC-2026-3430

cvss
8.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.7%
EPSS 0.7% chance of exploitation in 30 days, percentile 52%
public exploits
0
none known

Summary

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.

Patch / fix

  • pypi yt-dlp 2026.6.9
  • youtube-dlc_project youtube-dlc 2026.06.09
  • yt-dl youtube-dl 2026.06.09
  • yt-dlp-nightly-builds_project yt-dlp-nightly-builds 2026.06.09
  • yt-dlp_project yt-dlp 2026.06.09
  • yt-dlp Debian 14 2026.06.09-1

debian advisories DEBIAN-CVE-2026-50023

  • yt-dlp openSUSE Leap 16.0 2026.06.09-bp160.1.1
  • yt-dlp openSUSE Tumbleweed 2026.06.09-1.1

opensuse advisories openSUSE-SU-2026:21163-1openSUSE-SU-2026:11019-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-50023 updated cvss 9.6

yt-dlp: dangerous file type creation via insufficient filename sanitization (bypass of CVE-2024-38519)

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
total
Assessed
4 mo ago

Exploit prediction

0.66% chance of exploitation in the next 30 days, higher than 52% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-c6mh-fpjc-4pr3 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 8.3 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
GitHub 3.1 8.3 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
NVD 3.1 9.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
OSV 3.1 8.3 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
pypi yt-dlp
<2026.6.9
2026.6.9

Affected products

  • yt-dlp yt-dlp

Classification

Weakness
  • CWE-641 Improper Restriction of Names for Files and Other Resources

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.