CVE-2026-26331 is a high-severity command injection vulnerability affecting yt-dlp versions 2023.06.21 through 2026.02.20. An attacker can achieve arbitrary command injection on a user's system by crafting a malicious URL when the --netrc-cmd option or netrc_cmd Python API parameter is used. This vulnerability has a CVSS score of 8.8 (High) due to its network attack vector, low attack complexity, and high impact on confidentiality, integrity, and availability. While there is no evidence of active exploitation or public exploit code, the vulnerability has garnered some community discussion.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
>= 2023.06.21, < 2026.02.21CPE matchmatch criteria | cpe:2.3:a:yt-dlp_project:yt-dlp:*:*:*:*:*:*:*:* |
CVSS version used by this source: 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.2 Bluesky, 0.1 Mastodon, and 0.2 GitHub mentions.
The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.1 Security Researcher mentions.