CVE-2026-22864
CRITICAL 9.8CVSS 3.1Deno has an incomplete fix for command-injection prevention on Windows — case-insensitive extension bypass
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.
- Published
- 15 Jan 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-77
- Also known as
- GHSA-m3c4-prhw-mrx6
- Sources
- NVDJSONOSV GHSA-m3c4-prhw-mrx6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | deno | denocpe:2.3:a:deno:deno:*:*:*:*:*:*:*:* |
< 2.5.6 | 2.5.6 |
| OSV | crates.io | deno | < 2.5.6 | 2.5.6 |
References
- https://github.com/denoland/deno/releases/tag/v2.5.6 · Release Notes, WEB
- https://github.com/denoland/deno/security/advisories/GHSA-m3c4-prhw-mrx6 · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-22864 · ADVISORY
- https://github.com/denoland/deno · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 15 Jan 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 16 Jan 2026)