RCE in Yt-dlp
CVE-2026-26331
yt-dlp is a command-line audio/video downloader. Starting in version 2023.06.21 and prior to version 2026.02.21, when yt-dlp's `--netrc-cmd` command-line option (or `netrc_cmd` Python API parameter) is used, an attacker could achieve arbit…
Vulnerability class: Command Injection (OS Command Injection)
EPSS: 0.016 (73.0th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
Affected products
- Yt-dlp — versions >= 2023.06.21, < 2026.02.21
- Yt-dlp_project Yt-dlp
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Exploit, Mitigation, Vendor Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC)
- security-advisories@github.com (Product, x_refsource_MISC, Release Notes)
Frequently asked questions
- What is CVE-2026-26331?
- CVE-2026-26331 is a high-severity vulnerability in Yt-dlp, classified under OS Command Injection. CVSS score: 8.8/10. Published 2026-02-24.
- How severe is CVE-2026-26331?
- High severity. CVSS v3 base score is 8.8 out of 10.