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.
- 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
06 References
- github.comhttps://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-42h4-v29r-42qg
- github.comhttps://github.com/yt-dlp/yt-dlp/commit/de015e930747165dbb8fcd360f8775fd973b7d6e
- github.comhttps://github.com/yt-dlp/yt-dlp-nightly-builds/releases/tag/2023.09.24.003044
- github.comhttps://github.com/yt-dlp/yt-dlp/releases/tag/2021.04.11
- github.comhttps://github.com/yt-dlp/yt-dlp/releases/tag/2023.09.24