{"id":"CVE-2026-49402","published":"2026-06-23T17:20:50Z","modified":"2026-06-25T03:55:49Z","title":"Deno: Command Injection via spawnSync & spawn on Windows","vendor":"denoland","product":"deno","tier":"tail","description":{"text":"Deno is a JavaScript, TypeScript, and WebAssembly runtime. Prior to 2.7.10, Deno's node:child_process implementation provided an escapeShellArg() helper used when callers passed shell: true to spawn / spawnSync / exec and friends. On Windows, the helper failed to quote arguments that contained cmd.exe metacharacters and did not neutralize % (which cmd.exe expands even inside double-quoted strings). An attacker who controlled any portion of an argument passed to such a call could inject arbitrary additional commands into the spawned cmd.exe invocation. This vulnerability is fixed in 2.7.10.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00445,"percentile":0.39531,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/denoland/deno/security/advisories/GHSA-7xh3-mhg9-jcw8","tags":["x_refsource_CONFIRM"]}],"priority":{"score":13.6,"factors":[{"name":"EPSS percentile","points":7.91},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"denoland","affectedVersions":[{"vendor":"denoland","product":"deno","versions":["< 2.7.10"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-06-24T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"deno","vulnerableRanges":["<2.7.10"],"patched":["2.7.10"],"from":["GHSA-7xh3-mhg9-jcw8"],"provenance":"source"}],"summary":{"text":"In Deno's node:child_process implementation, the escapeShellArg() helper used with shell: true in spawn, spawnSync, and related functions fails on Windows to quote arguments containing cmd.exe metacharacters and does not neutralize %. An attacker who can influence any part of an argument passed to such a call can inject additional commands into the spawned cmd.exe invocation, provided the attacker is able to supply that input without authentication or user interaction and the application uses shell: true.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:39:06Z"},"euvd":{"id":"EUVD-2026-38546","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-32260","published":"2026-03-12","fixed":"2.7.2","kev":false},{"cve":"CVE-2026-55517","published":"2026-06-23","fixed":"2.7.5","kev":false},{"cve":"CVE-2026-44726","published":"2026-06-23","fixed":"2.7.8","kev":false,"link":{"from":"CVE-2026-44726","to":"CVE-2026-49402","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:deno","fromFixed":"2.7.8","toFixed":"2.7.10","daysApart":0}]}},{"cve":"CVE-2026-49402","published":"2026-06-23","fixed":"2.7.10","kev":false},{"cve":"CVE-2026-49406","published":"2026-06-23","fixed":"2.7.12","kev":false,"link":{"from":"CVE-2026-49402","to":"CVE-2026-49406","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:deno","fromFixed":"2.7.10","toFixed":"2.7.12","daysApart":0}]}},{"cve":"CVE-2026-49401","published":"2026-06-23","fixed":"2.7.14","kev":false},{"cve":"CVE-2026-49411","published":"2026-06-23","fixed":"2.8.0","kev":false}],"package":"crates.io:deno"}}