High severity · published Jul 22, 2025
CVE-2025-54072
yt-dlp is a feature-rich command-line audio/video downloader
8.1
CVSS
0.6%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 51% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
YT
Yt-dlp · Yt-dlp Project
before 2025.07.21 · source: NVD
Affected product
YT
Yt-dlp
Yt-dlp Project
More from Yt-dlp
9.8
CVE-2024-3566
A command inject vulnerability allows an attacker to perform command injection on Windows applications that indirectly depend on the CreateProcess function when the specific…
9.8
CVE-2024-22423
yt-dlp is a youtube-dl fork with additional features and fixes
9.6
CVE-2026-50574
yt-dlp: Arbitrary code execution via manifest downloads with aria2c
9.6
CVE-2026-50023
yt-dlp: Dangerous file type creation via insufficient filename sanitization (Bypass of CVE-2024-38519)
8.8
CVE-2026-55404
yt-dlp: Downstream command injection via improper sanitization of yt-dlp --write-link output