Command Injection in yt-dlp - CVE-2024-22423

 

Command Injection in yt-dlp - CVE-2024-22423

Published: July 24, 2025


Vulnerability identifier: #VU113201
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2024-22423
CWE-ID: CWE-77
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: yt-dlp
Affected software:
yt-dlp

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary commands on the system.

The vulnerability exists due to insufficient input validation when using "%q" in "yt-dlp" on Windows. A remote attacker can pass specially crafted data to the application and execute arbitrary commands.


How to mitigate CVE-2024-22423

Install updates from vendor's website.

Sources