Vulnerability in Deno Runtime Affecting File Execution
CVE-2026-22864
8.1HIGH
What is CVE-2026-22864?
Deno, a runtime for JavaScript, TypeScript, and WebAssembly, contains a vulnerability that allows for improper validation of file extensions when spawning processes. Prior to version 2.5.6, the implementation utilized a case-sensitive check against specific file extensions such as .bat and .cmd. This check could be bypassed by using alternate casing (like .BAT or .Bat), potentially enabling the execution of unauthorized batch scripts and compromising system security. The vulnerability has been addressed in version 2.5.6, which reinforces checks to better secure the execution environment.
Affected Version(s)
deno < 2.5.6
