In yt-dlp (a command-line audio/video downloader), versions 2023.06.21 through 2026.02.20 contain an OS command injection flaw reachable only when the optional --netrc-cmd command-line option (or the netrc_cmd Python API parameter) is used. A maliciously crafted URL can influence the netrc "machine" value that is substituted into the configured netrc command, enabling arbitrary command execution on the user’s system. Exploitation may be delivered directly via a suspicious-looking URL or covertly via HTTP redirects from a malicious webpage. Version 2026.02.21 fixes the issue by validating all netrc "machine" values and raising an error on unexpected input.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
--netrc-cmd/netrc_cmd is enabled, with potential for full compromise of confidentiality, integrity, and availability for that user. Users who do not use --netrc-cmd in their arguments/configuration or netrc_cmd in scripts are unaffected. No in-the-wild exploitation is reported in the provided content.If you can’t patch tonight, do this now.
--netrc-cmd / netrc_cmd. If it must be used, do not pass a placeholder ({}) in the --netrc-cmd argument to prevent substitution of attacker-influenced netrc "machine" values into a shell command.Patch, then assume compromise.
No valid public exploits. Mallory filtered out 1 candidate as fakes, detection scripts, or README-only repos.
All candidate exploits were filtered out by Mallory's validation.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.