VDB

CVE-2025-54072

CVE-2025-54072 PUBLISHED CVSS 7.5 HIGH

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.

EPSS 0.49% · 66.0th percentile

Risk Scores

CVSS v3.1
7.5
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS Score
0.49%
66.0th percentile

Affected Products

VendorProductVersions
yt-dlpyt-dlp*
yt-dlp_projectyt-dlp0

Timeline

  • Jan 21, 1970 Security Advisory
  • Jul 22, 2025 Coalition ESS Score
  • Jul 22, 2025 CVE Published
  • Jul 23, 2025 EPSS Score
  • Jul 23, 2025 CVE Updated
  • Jul 25, 2025 Coalition ESS Score
  • Aug 1, 2025 EPSS Score
  • Aug 10, 2025 EPSS Score
  • Aug 19, 2025 EPSS Score
  • Aug 26, 2025 Coalition ESS Score
  • Aug 28, 2025 EPSS Score
  • Sep 6, 2025 EPSS Score
Open in Interactive Console →
$ Console Community · 100/wk Open console ›