ADVISORIES

Vulnerability

CVE-2026-55404

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.

6 advisories report this vulnerability, across 4 ecosystems.

Advisories in PyPI

  • GHSA-6v4j-43gg-vj32

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

    High CVE-2026-55404 PyPI Updated 4 August 2026
  • PYSEC-2026-3622

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

    CVE-2026-55404 PyPI Updated 4 August 2026

References