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

Weakness classification (CWE)

References

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.