synced 5 MIN AGO
01 Record

CVE-2023-40581

yt-dlp command injection when using `%q` in `--exec` on Windows

HighPUBLISHEDCNA: GitHub_M
CNA base score8.4 CVSS v3.xCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

02 Description

yt-dlp command injection when using `%q` in `--exec` on Windows

03 Exploitation and scoring

Exploitation
Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
SSVC decision
  • ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
  • AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
  • Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
CISA publishes the decision points, not a final SSVC decision. The decision also depends on mission and well-being impact, which is a property of your deployment rather than of the vulnerability.
EPSS probability
1.34% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 70.7% of scored records. A rank, not a probability.
NVD base score
7.8 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD analysis status
Modified. NVD last modified this record on 2026-06-17.
Red Hat severity
No Red Hat rating. Red Hat rates the CVEs that affect its products.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2023-09-25 18:54Z3 YR AGO
Last updated
2024-09-24 14:48Z2 YR AGO
Reserved
2023-08-16
Assigning CNA
GitHub_M
Record state
PUBLISHED
Severity
High (CVSS 8.4)
CNA CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
Weaknesses
  • CWE-78Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')Base
Data version
5.1
Document digest
fd297c202bad4cd3a0dea8b50247d3d3e5f4bc777d5ee3d1e50801c8d2319c94

05 Affected products

VendorProductVersionsPlatforms
yt-dlpyt-dlp>= 2021.04.11, < 2023.09.24, < nightly 2023.09.24.003044—
yt-dlp_projectyt-dlp2021.04.11 to < 2023.09.24, 0 to < nightly 2023.09.24.003044—

06 References