Skip to main content
HIGH

CVE-2026-26331

yt-dlp: Arbitrary Command Injection when using the `--netrc-cmd` option

CVSS v3

8.8

HIGH

EPSS Score

2.0 %

exploit probability, as of 2026-09-25

CISA KEV

No

known exploited

Exploitation

none

SSVC status

Description

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 arbitrary command injection on the user's system with a maliciously crafted URL. yt-dlp maintainers assume the impact of this vulnerability to be high for anyone who uses `--netrc-cmd` in their command/configuration or `netrc_cmd` in their Python scripts. Even thoug

Technical details

Published
2026-02-24
Last Modified
2026-02-25

Frequently asked questions

What is 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 arbitrary command injection on the user's system with a maliciously crafted URL. yt-dlp maintainers assume the impact of this vulnerability to be high for anyone who uses `--netrc-cmd` in their command/configuration or `netrc_cmd` in their Python scripts. Even thoug

Is CVE-2026-26331 actively exploited?

Active exploitation of CVE-2026-26331 has not been confirmed. Its EPSS score was 2.0% on 2026-09-25, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-26331?

CVE-2026-26331 has a CVSS v3 base score of 8.8 (HIGH severity).

Is CVE-2026-26331 affecting your environment?

Use isMalicious to check if any of your IPs or domains are associated with this vulnerability's IOCs.

No credit card required · 500 free checks/month · Free API key