CVE-2026-22864 Deno has an incomplete fix for command-injection prevention on Windows — case-insensitive extension bypass
CriticalCVSS 9.8
EPSS 0.68%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
Description
Deno is a JavaScript, TypeScript, and WebAssembly runtime. Before 2.5.6, a prior patch aimed to block spawning Windows batch/shell files by returning an error when a spawned path’s extension matched .bat or .cmd. That check performs a case-sensitive comparison against lowercase literals and therefore can be bypassed when the extension uses alternate casing (for example .BAT, .Bat, etc.). This vulnerability is fixed in 2.5.6.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io deno(crates.io) | < 2.5.6 | 2.5.6 | Fixed |
| deno | < 2.5.6 | 2.5.6 | Fixed |
| denoland deno | = < 2.5.6 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io deno(crates.io) | < 2.5.6 | 2.5.6 |
| denoland deno | = < 2.5.6 | No fix listed |
| deno | < 2.5.6 | 2.5.6 |
References
- https://github.com/denoland/deno/security/advisories/GHSA-m3c4-prhw-mrx6 exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- https://github.com/denoland/deno/releases/tag/v2.5.6 release-notes
- github.com