Command injection in Deno - CVE-2026-22864
Published: April 23, 2026
Deno
Detailed vulnerability description
The vulnerability allows a remote attacker to execute arbitrary commands.
The vulnerability exists due to improper neutralization of special elements used in a command in the Deno.Command spawn path on Windows when checking spawned file extensions for batch or shell files. A remote attacker can supply a specially crafted batch or command file path with alternate extension casing and user-controlled arguments to execute arbitrary commands.
The issue affects Windows because the extension check can be bypassed with case-insensitive variants such as .BAT or .Bat.