# CVE-2026-22864: Deno has an incomplete fix for command-injection prevention on Windows — case-insensitive extension bypass

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.68%, higher than 53% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-15T22:58:52.463Z
- Modified: 2026-06-17T10:20:31.700Z
- Also known as: GHSA-m3c4-prhw-mrx6
- Weaknesses: CWE-77
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- denoland deno: < 2.5.6
- deno (crates.io): before 2.5.6
- deno deno: before 2.5.6

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/denoland/deno/security/advisories/GHSA-m3c4-prhw-mrx6> (exploit, vendor-advisory, web)
- <https://github.com/denoland/deno/releases/tag/v2.5.6> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-22864> (advisory)
- <https://github.com/denoland/deno> (package)

## Sources

- CVE List: [CVE-2026-22864](https://www.cve.org/CVERecord?id=CVE-2026-22864), CVE Terms of Use, modified 2026-01-16
- GitHub Advisory Database: [GHSA-m3c4-prhw-mrx6](https://github.com/advisories/GHSA-m3c4-prhw-mrx6), CC-BY-4.0, modified 2026-02-03
- NVD: [CVE-2026-22864](https://nvd.nist.gov/vuln/detail/CVE-2026-22864), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-22864 · Whole record: https://cve.day/CVE-2026-22864.json · Rebuilt by cve.day 2026-11-25T22:59:12.876Z
