{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-55404","id":"CVE-2026-55404","title":"yt-dlp: Downstream command injection via improper sanitization of yt-dlp --write-link output","description":"yt-dlp and youtube-dl are command-line audio/video downloaders. Prior to 2026.7.4, the --write-link, --write-url-link, and --write-desktop-link options can write .url or .desktop shortcut files using attacker-controlled webpage_url or filename metadata without sufficient validation or escaping, allowing malicious file:// URI injection on Windows or newline-based desktop entry key injection on Linu","descriptionLong":"yt-dlp and youtube-dl are command-line audio/video downloaders. Prior to 2026.7.4, the --write-link, --write-url-link, and --write-desktop-link options can write .url or .desktop shortcut files using attacker-controlled webpage_url or filename metadata without sufficient validation or escaping, allowing malicious file:// URI injection on Windows or newline-based desktop entry key injection on Linux that can execute commands if the generated shortcut is opened. This issue is fixed in version 2026.7.4.","published":"2026-07-08T19:36:48.792Z","updated":"2026-10-28T02:31:11.931420406Z","reserved":"2026-06-16T21:48:43.124Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["yt-dlp"],"affectedProducts":[{"vendor":"yt-dlp","product":"yt-dlp","defaultStatus":null,"versions":[{"version":"< 2026.7.4","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"yt-dlp","purl":"pkg:pypi/yt-dlp","ranges":["<2026.7.4"],"fixed":["2026.7.4"],"advisory":"GHSA-6v4j-43gg-vj32"}],"cwes":["CWE-74"],"aliases":["GHSA-6v4j-43gg-vj32","PYSEC-2026-3622"],"references":[{"url":"https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-6v4j-43gg-vj32","tags":["x_refsource_CONFIRM","Mitigation","Vendor Advisory","advisory","web"]},{"url":"https://github.com/yt-dlp/yt-dlp/commit/b6590aaa1e3808155d69c9a79a797ae484163789","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/yt-dlp/yt-dlp/releases/tag/2026.07.04","tags":["x_refsource_MISC","Product","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55404.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55404","tags":["advisory"]},{"url":"https://github.com/yt-dlp/yt-dlp/commit/6fc85f617a5850307fd5b258477070e6ee177796","tags":["web"]},{"url":"https://github.com/yt-dlp/yt-dlp","tags":["package"]},{"url":"https://github.com/yt-dlp/yt-dlp-nightly-builds/releases/tag/2026.07.04.221833","tags":["web"]},{"url":"https://pypi.org/project/yt-dlp","tags":["package"]},{"url":"https://github.com/advisories/GHSA-6v4j-43gg-vj32","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.0064,"epssPercentile":0.51473,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-55404","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55404","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-55404","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-6v4j-43gg-vj32","ok":true,"note":"GHSA-6v4j-43gg-vj32"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-55404","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}