CVE-2026-49402
Description
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.
Weakness
- CWE-78: Improper Neutralization of Special Elements used in an OS Command
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2026-06-24 |
Timeline
- 2026-06-16GitHub advisory published (GHSA-7xh3-mhg9-jcw8)7 days before publication
- 2026-06-23Published by the CNA17:20 UTC
- 2026-06-24CISA SSVC decision recorded1 day after publication
Exploit and advisory records
GitHub advisory GHSA-7xh3-mhg9-jcw8, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| crates.io deno | before 2.7.10 | 2.7.10 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| deno deno | before 2.7.10fixed in 2.7.10 | 2.7.10 |
References
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-49402'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-49402'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-49402'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-49402'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).