CVE-2026-22864 Details
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.
A command injection vulnerability has been identified in Deno, a runtime for JavaScript, TypeScript, and WebAssembly, prior to version 2.5.6. The issue arises from an incomplete fix that aimed to prevent the execution of Windows batch files by returning an error when a file path's extension matched .bat or .cmd. However, this check was case-sensitive and could be bypassed by using alternate casing, such as .BAT or .Bat. As a result, user-controlled arguments could be passed to a spawned batch script, leading to command-line injection. This vulnerability has been patched in Deno version 2.5.6.
Users are advised to update Deno to version 2.5.6 or later.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 16, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/denoland/deno/releases/tag/v2.5.6 | [email protected] | Release Notes |
| https://github.com/denoland/deno/security/advisories/GHSA-m3c4-prhw-mrx6 | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-77 | Improper Neutralization of Special Elements used in a Command ('Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| deno deno | < 2.5.6 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 21, 2026 | Initial Analysis | [email protected] |
| Jan 15, 2026 | New CVE Received | [email protected] |