8.1

CVE-2025-54072: yt-dlp_project yt-dlp OS Command Injection

CVSS: 8.1v3.1HighAnalyzed
Published 22-07-2025Last modified 23-07-2025

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.

Overall risk
33/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.1/10
010
High · v3.1 (NVD)
EPSS score
0.60%
0%100%
Low · +0.04 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 22-07-2025
    PublishedVulnerability first disclosed.
  2. 23-07-2025
    Last 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

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

21-09-202621-10-2026
EPSS score
0.60%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Yt-dlp1 product
Yt-dlp_project1 product

2 vendors · 2 products

References

3 links