CVE-2026-26331: yt-dlp: Arbitrary Command Injection when using the `--netrc-cmd` option
(updated )
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.
References
Code Behaviors & Features
Detect and mitigate CVE-2026-26331 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →