Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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