Skip to content
OpenAdvisories
High · 8.1 CVE-2026-22864 EUVD-2026-2935GHSA-m3c4-prhw-mrx6

Deno has an incomplete fix for command-injection prevention on Windows — case-insensitive extension bypass

Published Jan 15, 2026 · Updated Jan 16, 2026 · 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.

Affected products

VendorProductAffectedFixed
denoland deno < 2.5.6 —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io deno < 2.5.6 2.5.6 GHSA-m3c4-prhw-mrx6

References