Skip to main content
← All vulnerabilities
CVE-2026-55404GHSA-6V4J-43GG-VJ32PYSEC-2026-3622

yt-dlp: Downstream command injection via improper sanitization of yt-dlp --write-link output

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

Summary

yt-dlp and youtube-dl are command-line audio/video downloaders. Prior to 2026.7.4, the --write-link, --write-url-link, and --write-desktop-link options can write .url or .desktop shortcut files using attacker-controlled webpage_url or filename metadata without sufficient validation or escaping, allowing malicious file:// URI injection on Windows or newline-based desktop entry key injection on Linux that can execute commands if the generated shortcut is opened. This issue is fixed in version 2026.7.4.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated

Affected versions

  • yt-dlp yt-dlp

    fixed in 2026.7.4

  • yt-dlpPyPI

    fixed in 2026.7.4

References 3

GitHub · yt-dlp/yt-dlp