CVE Catalog

CVE-2026-22864

High
Published: Translated: NVD NIST

Summary

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.

Risk Assessment

The risk is that an attacker can bypass security controls and execute malicious batch files, potentially leading to unauthorized code execution on the system.

Recommendation

It is recommended to immediately upgrade Deno to version 2.5.6 or later to eliminate this vulnerability.

Other vulnerabilities in Deno

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS