Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. yt-dlp
  4. ›
  5. CVE-2026-55404

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

July 24, 2026

If the --write-link, --write-url-link or --write-desktop-link options are used with yt-dlp, it may produce output that can lead to downstream remote code execution. An attacker can craft a malicious metadata payload to achieve arbitrary command injection in the .url and .desktop shortcut files written by yt-dlp. This allows for malicious shell commands or malicious remote executables to run on the user’s system if the user executes the generated .url or .desktop files.

References

  • github.com/advisories/GHSA-6v4j-43gg-vj32
  • github.com/yt-dlp/yt-dlp-nightly-builds/releases/tag/2026.07.04.221833
  • github.com/yt-dlp/yt-dlp/commit/6fc85f617a5850307fd5b258477070e6ee177796
  • github.com/yt-dlp/yt-dlp/commit/b6590aaa1e3808155d69c9a79a797ae484163789
  • github.com/yt-dlp/yt-dlp/releases/tag/2026.07.04
  • github.com/yt-dlp/yt-dlp/security/advisories/GHSA-6v4j-43gg-vj32
  • nvd.nist.gov/vuln/detail/CVE-2026-55404

Code Behaviors & Features

Detect and mitigate CVE-2026-55404 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2026.7.4

Fixed versions

  • 2026.7.4

Solution

Upgrade to version 2026.7.4 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Source file

pypi/yt-dlp/CVE-2026-55404.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 25 Jul 2026 12:16:27 +0000.