{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-26331","published":"2026-02-24T03:16:01.710000Z","last_modified":"2026-06-17T10:26:06.463000Z","status":"Analyzed","cvss":{"version":"3.1","score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-78"],"cpes":[{"criteria":"cpe:2.3:a:yt-dlp_project:yt-dlp:*:*:*:*:*:*:*:*","part":"a","vendor":"yt-dlp_project","product":"yt-dlp","version_start_including":"2023.06.21","version_end_excluding":"2026.02.21"}],"cpes_truncated":false,"vendors":["yt-dlp_project"],"products":["yt-dlp_project/yt-dlp"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-g3gw-q23r-pgqm","ecosystem":"PyPI","name":"yt-dlp","purl":"pkg:pypi/yt-dlp","ranges":[{"introduced":"2023.06.21","fixed":"2026.02.21"}],"versions":["2025.12.15.233113.dev0","2025.12.18.235942.dev0","2025.12.19.233017.dev0","2025.12.20.232942.dev0","2025.12.24.233043.dev0","2025.12.25.233051.dev0","2025.12.26.233056.dev0","2025.12.29.233040.dev0","2025.12.3.233056.dev0","2025.12.30.233018.dev0","2025.12.31.233056.dev0","2025.12.4.233042.dev0","2025.12.5.232956.dev0","2025.12.6.232939.dev0","2025.12.8","2025.12.8.550.dev0","2025.12.9.233030.dev0","2025.2.10.232934.dev0","2025.2.11.232920.dev0","2025.2.19","2025.2.19.23542.dev0","2025.2.20.232914.dev0","2025.2.21.232913.dev0","2025.2.22.232738.dev0","2025.2.23.232748.dev0","2025.2.26.232946.dev0","2025.2.28.232826.dev0","2025.2.8.232844.dev0","2025.2.9.232824.dev0","2025.3.13.232844.dev0","2025.3.15.232805.dev0","2025.3.16.232921.dev0","2025.3.2.232817.dev0","2025.3.21","2025.3.21.232842.dev0","2025.3.22.232834.dev0","2025.3.23.232844.dev0","2025.3.25","2025.3.25.703.dev0","2025.3.26","2025.3.26.420.dev0","2025.3.27","2025.3.27.233514.dev0","2025.3.28.232920.dev0","2025.3.3.232847.dev0","2025.3.30.232927.dev0","2025.3.31","2025.3.31.214356.dev0","2025.3.4.232844.dev0","2025.3.5.232947.dev0","2025.3.7.232704.dev0","2025.4.18.232954.dev0","2025.4.19.232942.dev0","2025.4.23.1659.dev0","2025.4.23.232926.dev0","2025.4.24.232927.dev0","2025.4.25.232910.dev0","2025.4.26.232923.dev0","2025.4.27.233024.dev0","2025.4.28.232934.dev0","2025.4.29.232920.dev0","2025.4.30","2025.4.30.232944.dev0","2025.4.5.232914.dev0","2025.4.6.232826.dev0","2025.5.10.232848.dev0","2025.5.11.232911.dev0","2025.5.16.232928.dev0","2025.5.17.232915.dev0","2025.5.18.232948.dev0","2025.5.20.232932.dev0","2025.5.21.232935.dev0","2025.5.22","2025.5.22.232956.dev0","2025.5.22.93922.dev0","2025.5.23.233016.dev0","2025.5.26.232937.dev0","2025.5.27.232941.dev0","2025.5.28.232948.dev0","2025.5.3.232917.dev0","2025.5.30.233011.dev0","2025.5.5.232943.dev0","2025.5.6.232932.dev0","2025.6.1.232947.dev0","2025.6.12.233004.dev0","2025.6.25","2025.6.25.235247.dev0","2025.6.26.233029.dev0","2025.6.27.233026.dev0","2025.6.28.234349.dev0","2025.6.29.233002.dev0","2025.6.3.233020.dev0","2025.6.30","2025.6.30.233919.dev0","2025.6.5.233116.dev0","2025.6.6.233002.dev0","2025.6.7.233023.dev0","2025.6.8.232939.dev0","2025.6.9","2025.6.9.234059.dev0","2025.7.1.235725.dev0","2025.7.11.233035.dev0","2025.7.12.233122.dev0","2025.7.13.233101.dev0","2025.7.14.233051.dev0","2025.7.16.233138.dev0","2025.7.18.233100.dev0","2025.7.19.233203.dev0","2025.7.2.233055.dev0","2025.7.21","2025.7.21.234438.dev0","2025.7.22.233113.dev0","2025.7.23.233136.dev0","2025.7.24.233125.dev0","2025.7.25.233059.dev0","2025.7.26.233101.dev0","2025.7.27.233142.dev0","2025.7.29.233301.dev0","2025.7.30.233130.dev0","2025.7.31.233123.dev0","2025.7.5.233013.dev0","2025.7.6.233008.dev0","2025.7.7.233044.dev0","2025.7.8.233037.dev0","2025.7.9.233050.dev0","2025.8.1.233124.dev0","2025.8.11","2025.8.11.34503.dev0","2025.8.12.233030.dev0","2025.8.13.233032.dev0","2025.8.16.232932.dev0","2025.8.18.232943.dev0","2025.8.19.232936.dev0","2025.8.2.233207.dev0","2025.8.20","2025.8.20.232911.dev0","2025.8.20.24358.dev0","2025.8.21.235612.dev0","2025.8.22","2025.8.22.235700.dev0","2025.8.22.31729.dev0","2025.8.23.234735.dev0","2025.8.27","2025.8.27.235607.dev0","2025.8.28.232853.dev0","2025.8.29.232845.dev0","2025.8.3.233131.dev0","2025.8.30.232839.dev0","2025.8.5.233158.dev0","2025.8.6.233141.dev0","2025.8.7.233150.dev0","2025.8.8.233030.dev0","2025.9.10.232823.dev0","2025.9.11.232836.dev0","2025.9.12.232737.dev0","2025.9.13.232728.dev0","2025.9.16.232710.dev0","2025.9.17.232802.dev0","2025.9.19.232813.dev0","2025.9.21.232818.dev0","2025.9.22.232823.dev0","2025.9.23","2025.9.23.232818.dev0","2025.9.23.64003.dev0","2025.9.26","2025.9.26.220624.dev0","2025.9.30.72057.dev0","2025.9.5","2025.9.5.224711.dev0","2025.9.7.232816.dev0","2025.9.7.655.dev0","2025.9.8.232917.dev0","2026.1.1.233103.dev0","2026.1.16.233125.dev0","2026.1.19.233146.dev0","2026.1.19.359.dev0","2026.1.2.233036.dev0","2026.1.25.233128.dev0","2026.1.27.233257.dev0","2026.1.29","2026.1.29.165626.dev0","2026.1.3.233044.dev0","2026.1.30.233459.dev0","2026.1.31","2026.1.31.233334.dev0","2026.1.4.233103.dev0","2026.1.5.233118.dev0","2026.1.6.233142.dev0","2026.2.12.233641.dev0","2026.2.16.233630.dev0","2026.2.17.233631.dev0","2026.2.18.235726.dev0","2026.2.19.233638.dev0","2026.2.20.235452.dev0","2026.2.3.233612.dev0","2026.2.4","2026.2.4.233607.dev0","2026.2.6.233518.dev0","2026.2.7.233648.dev0","2026.2.9.233747.dev0"],"versions_truncated":false},{"advisory":"PYSEC-2026-3432","ecosystem":"PyPI","name":"yt-dlp","purl":"pkg:pypi/yt-dlp","ranges":[{"introduced":"2023.06.21","fixed":"2026.02.21"}],"versions":["2025.12.15.233113.dev0","2025.12.18.235942.dev0","2025.12.19.233017.dev0","2025.12.20.232942.dev0","2025.12.24.233043.dev0","2025.12.25.233051.dev0","2025.12.26.233056.dev0","2025.12.29.233040.dev0","2025.12.3.233056.dev0","2025.12.30.233018.dev0","2025.12.31.233056.dev0","2025.12.4.233042.dev0","2025.12.5.232956.dev0","2025.12.6.232939.dev0","2025.12.8","2025.12.8.550.dev0","2025.12.9.233030.dev0","2025.2.10.232934.dev0","2025.2.11.232920.dev0","2025.2.19","2025.2.19.23542.dev0","2025.2.20.232914.dev0","2025.2.21.232913.dev0","2025.2.22.232738.dev0","2025.2.23.232748.dev0","2025.2.26.232946.dev0","2025.2.28.232826.dev0","2025.2.8.232844.dev0","2025.2.9.232824.dev0","2025.3.13.232844.dev0","2025.3.15.232805.dev0","2025.3.16.232921.dev0","2025.3.2.232817.dev0","2025.3.21","2025.3.21.232842.dev0","2025.3.22.232834.dev0","2025.3.23.232844.dev0","2025.3.25","2025.3.25.703.dev0","2025.3.26","2025.3.26.420.dev0","2025.3.27","2025.3.27.233514.dev0","2025.3.28.232920.dev0","2025.3.3.232847.dev0","2025.3.30.232927.dev0","2025.3.31","2025.3.31.214356.dev0","2025.3.4.232844.dev0","2025.3.5.232947.dev0","2025.3.7.232704.dev0","2025.4.18.232954.dev0","2025.4.19.232942.dev0","2025.4.23.1659.dev0","2025.4.23.232926.dev0","2025.4.24.232927.dev0","2025.4.25.232910.dev0","2025.4.26.232923.dev0","2025.4.27.233024.dev0","2025.4.28.232934.dev0","2025.4.29.232920.dev0","2025.4.30","2025.4.30.232944.dev0","2025.4.5.232914.dev0","2025.4.6.232826.dev0","2025.5.10.232848.dev0","2025.5.11.232911.dev0","2025.5.16.232928.dev0","2025.5.17.232915.dev0","2025.5.18.232948.dev0","2025.5.20.232932.dev0","2025.5.21.232935.dev0","2025.5.22","2025.5.22.232956.dev0","2025.5.22.93922.dev0","2025.5.23.233016.dev0","2025.5.26.232937.dev0","2025.5.27.232941.dev0","2025.5.28.232948.dev0","2025.5.3.232917.dev0","2025.5.30.233011.dev0","2025.5.5.232943.dev0","2025.5.6.232932.dev0","2025.6.1.232947.dev0","2025.6.12.233004.dev0","2025.6.25","2025.6.25.235247.dev0","2025.6.26.233029.dev0","2025.6.27.233026.dev0","2025.6.28.234349.dev0","2025.6.29.233002.dev0","2025.6.3.233020.dev0","2025.6.30","2025.6.30.233919.dev0","2025.6.5.233116.dev0","2025.6.6.233002.dev0","2025.6.7.233023.dev0","2025.6.8.232939.dev0","2025.6.9","2025.6.9.234059.dev0","2025.7.1.235725.dev0","2025.7.11.233035.dev0","2025.7.12.233122.dev0","2025.7.13.233101.dev0","2025.7.14.233051.dev0","2025.7.16.233138.dev0","2025.7.18.233100.dev0","2025.7.19.233203.dev0","2025.7.2.233055.dev0","2025.7.21","2025.7.21.234438.dev0","2025.7.22.233113.dev0","2025.7.23.233136.dev0","2025.7.24.233125.dev0","2025.7.25.233059.dev0","2025.7.26.233101.dev0","2025.7.27.233142.dev0","2025.7.29.233301.dev0","2025.7.30.233130.dev0","2025.7.31.233123.dev0","2025.7.5.233013.dev0","2025.7.6.233008.dev0","2025.7.7.233044.dev0","2025.7.8.233037.dev0","2025.7.9.233050.dev0","2025.8.1.233124.dev0","2025.8.11","2025.8.11.34503.dev0","2025.8.12.233030.dev0","2025.8.13.233032.dev0","2025.8.16.232932.dev0","2025.8.18.232943.dev0","2025.8.19.232936.dev0","2025.8.2.233207.dev0","2025.8.20","2025.8.20.232911.dev0","2025.8.20.24358.dev0","2025.8.21.235612.dev0","2025.8.22","2025.8.22.235700.dev0","2025.8.22.31729.dev0","2025.8.23.234735.dev0","2025.8.27","2025.8.27.235607.dev0","2025.8.28.232853.dev0","2025.8.29.232845.dev0","2025.8.3.233131.dev0","2025.8.30.232839.dev0","2025.8.5.233158.dev0","2025.8.6.233141.dev0","2025.8.7.233150.dev0","2025.8.8.233030.dev0","2025.9.10.232823.dev0","2025.9.11.232836.dev0","2025.9.12.232737.dev0","2025.9.13.232728.dev0","2025.9.16.232710.dev0","2025.9.17.232802.dev0","2025.9.19.232813.dev0","2025.9.21.232818.dev0","2025.9.22.232823.dev0","2025.9.23","2025.9.23.232818.dev0","2025.9.23.64003.dev0","2025.9.26","2025.9.26.220624.dev0","2025.9.30.72057.dev0","2025.9.5","2025.9.5.224711.dev0","2025.9.7.232816.dev0","2025.9.7.655.dev0","2025.9.8.232917.dev0","2026.1.1.233103.dev0","2026.1.16.233125.dev0","2026.1.19.233146.dev0","2026.1.19.359.dev0","2026.1.2.233036.dev0","2026.1.25.233128.dev0","2026.1.27.233257.dev0","2026.1.29","2026.1.29.165626.dev0","2026.1.3.233044.dev0","2026.1.30.233459.dev0","2026.1.31","2026.1.31.233334.dev0","2026.1.4.233103.dev0","2026.1.5.233118.dev0","2026.1.6.233142.dev0","2026.2.12.233641.dev0","2026.2.16.233630.dev0","2026.2.17.233631.dev0","2026.2.18.235726.dev0","2026.2.19.233638.dev0","2026.2.20.235452.dev0","2026.2.3.233612.dev0","2026.2.4","2026.2.4.233607.dev0","2026.2.6.233518.dev0","2026.2.7.233648.dev0","2026.2.9.233747.dev0"],"versions_truncated":false}],"severity":"high","priority_score":68,"links":{"html_es":"/es/cve/CVE-2026-26331/","html_en":"/en/cve/CVE-2026-26331/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-26331","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-26331"},"untrusted":{"vendor_name":"Yt-dlp Project","product_name":"Yt-dlp","desc_en":"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 though the maliciously crafted URL itself will look very suspicious to many users, it would be trivial for a maliciously crafted webpage with an inconspicuous URL to covertly exploit this vulnerability via HTTP redirect. Users without `--netrc-cmd` in their arguments or `netrc_cmd` in their scripts are unaffected. No evidence has been found of this exploit being used in the wild. yt-dlp version 2026.02.21 fixes this issue by validating all netrc \"machine\" values and raising an error upon unexpected input. As a workaround, users who are unable to upgrade should avoid using the `--netrc-cmd` command-line option (or `netrc_cmd` Python API parameter), or they should at least not pass a placeholder (`{}`) in their `--netrc-cmd` argument.","affected":[{"untrusted_vendor":"yt-dlp","untrusted_product":"yt-dlp"}],"references":[{"url":"https://github.com/yt-dlp/yt-dlp/commit/1fbbe29b99dc61375bf6d786f824d9fcf6ea9c1a","tags":["Patch"]},{"url":"https://github.com/yt-dlp/yt-dlp/releases/tag/2026.02.21","tags":["Product","Release Notes"]},{"url":"https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-g3gw-q23r-pgqm","tags":["Exploit","Mitigation","Vendor Advisory"]}]}}