CVE-2025-54072: yt-dlp_project yt-dlp OS Command Injection
Vulnerability summary
CVE-2025-54072 is a high (CVSS 8.1) OS Command Injection vulnerability in yt-dlp_project yt-dlp. EPSS estimates a 0.60% chance of exploitation in the next 30 days, higher than 48.2% of scored vulnerabilities.
Timeline
- 22-07-2025PublishedVulnerability first disclosed.
- 23-07-2025Last modifiedVulnerability information updated.
Description
yt-dlp is a feature-rich command-line audio/video downloader. In versions 2025.06.25 and below, when the --exec option is used on Windows with the default placeholder (or {}), insufficient sanitization is applied to the expanded filepath, allowing for remote code execution. This is a bypass of the mitigation for CVE-2024-22423 where the default placeholder and {} were not covered by the new escaping rules. Windows users who are unable to upgrade should avoid using --exec altogether. Instead, the --write-info-json or --dump-json options could be used, with an external script or command line consuming the JSON output. This is fixed in version 2025.07.21.
CVSS metrics
2 scores · 2 sources · 1 version- CVE.orgCNA7.5HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
0.60%
Chance of exploitation in the next 30 days
Percentile
48%
Versus all other CVEs
30-day change
+0.04 pp
From 0.56% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
2 vendors · 2 products