Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') Affecting yt-dlp package, versions [,2026.7.4)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.41% (34th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-YTDLP-17901761
  • published9 Jul 2026
  • disclosed8 Jul 2026
  • creditgamer191

Introduced: 8 Jul 2026

CVE-2026-55404  (opens in a new tab)
CWE-74  (opens in a new tab)

How to fix?

Upgrade yt-dlp to version 2026.7.4 or higher.

Overview

yt-dlp is an A youtube-dl fork with additional features and patches

Affected versions of this package are vulnerable to Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') via improper validation of input in the --write-link, --write-url-link, and --write-desktop-link options. An attacker can achieve arbitrary command execution by crafting malicious webpage_url or filename metadata that, when used to generate shortcut files, injects harmful URIs or desktop entry keys. This can result in execution of attacker-controlled commands if a user opens the generated shortcut file.

CVSS Base Scores

version 4.0
version 3.1