Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. deno
  4. ›
  5. CVE-2026-22864

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

January 16, 2026

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.).

References

  • github.com/advisories/GHSA-m3c4-prhw-mrx6
  • github.com/denoland/deno
  • github.com/denoland/deno/releases/tag/v2.5.6
  • github.com/denoland/deno/security/advisories/GHSA-m3c4-prhw-mrx6
  • nvd.nist.gov/vuln/detail/CVE-2026-22864

Code Behaviors & Features

Detect and mitigate CVE-2026-22864 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.5.6

Fixed versions

  • 2.5.6

Solution

Upgrade to version 2.5.6 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')

Source file

cargo/deno/CVE-2026-22864.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 04 Feb 2026 00:35:50 +0000.