CVE Explorer
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"yt-dlp","vendor":"yt-dlp","versions":[{"status":"affected","version":">= 2023.06.21, < 2026.02.21"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:245a9180eba96cfb73173f276ba72c568519e1c2285f27a7428602ca2226cc95 · sha256:55c7d87f95cc0041… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:245a9180eba96cfb73173f276ba72c568519e1c2285f27a7428602ca2226cc95 · sha256:55c7d87f95cc0041… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-78","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:245a9180eba96cfb73173f276ba72c568519e1c2285f27a7428602ca2226cc95 · sha256:55c7d87f95cc0041… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/yt-dlp/yt-dlp/commit/1fbbe29b99dc61375bf6d786f824d9fcf6ea9c1a","tags":["x_refsource_MISC"],"url":"https://github.com/yt-dlp/yt-dlp/commit/1fbbe29b99dc61375bf6d786f824d9fcf6ea9c1a"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:245a9180eba96cfb73173f276ba72c568519e1c2285f27a7428602ca2226cc95 · sha256:55c7d87f95cc0041… · /containers/cna/references/1
{"name":"https://github.com/yt-dlp/yt-dlp/releases/tag/2026.02.21","tags":["x_refsource_MISC"],"url":"https://github.com/yt-dlp/yt-dlp/releases/tag/2026.02.21"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:245a9180eba96cfb73173f276ba72c568519e1c2285f27a7428602ca2226cc95 · sha256:55c7d87f95cc0041… · /containers/cna/references/2
{"name":"https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-g3gw-q23r-pgqm","tags":["x_refsource_CONFIRM"],"url":"https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-g3gw-q23r-pgqm"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:245a9180eba96cfb73173f276ba72c568519e1c2285f27a7428602ca2226cc95 · sha256:55c7d87f95cc0041… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.