Skip to main content
← All vulnerabilities
CVE-2026-50023GHSA-C6MH-FPJC-4PR3PYSEC-2026-3430

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2026.06.09, 2026.6.9
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • yt-dlp yt-dlp

    fixed in 2026.06.09

  • yt-dlpPyPI

    fixed in 2026.6.9

References 4

GitHub · yt-dlp/yt-dlp

GitHub · yt-dlp/yt-dlp-nightly-builds