Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-22864

CVE-2026-22864: Deno Auth Bypass Vulnerability

CVE-2026-22864 is an authentication bypass flaw in Deno runtime affecting Windows batch file execution. Attackers can bypass security checks using alternate case extensions. This article covers technical details, affected versions, and patches.

Published: January 23, 2026

CVE-2026-22864 Overview

CVE-2026-22864 is a command injection vulnerability in Deno, a JavaScript, TypeScript, and WebAssembly runtime. The vulnerability exists in a security mechanism designed to prevent the spawning of Windows batch and shell files. A prior patch implemented an extension check that returns an error when a spawned path's extension matches .bat or .cmd. However, this check performs a case-sensitive comparison against lowercase literals, allowing attackers to bypass the protection by using alternate casing such as .BAT, .Bat, or other variations.

Critical Impact

Attackers can bypass Deno's security controls to spawn malicious Windows batch files, potentially leading to arbitrary command execution on the underlying system.

Affected Products

  • Deno versions prior to 2.5.6
  • Deno runtime on Windows operating systems
  • Applications using Deno's process spawning functionality

Discovery Timeline

  • 2026-01-15 - CVE CVE-2026-22864 published to NVD
  • 2026-01-21 - Last updated in NVD database

Technical Details for CVE-2026-22864

Vulnerability Analysis

This vulnerability is classified under CWE-77 (Command Injection) and represents a security bypass in Deno's process spawning functionality. The core issue stems from an incomplete security check that was intended to prevent the execution of Windows batch files (.bat and .cmd) through Deno's spawn API.

The original security patch implemented a file extension validation to block potentially dangerous batch file executions. However, the implementation used a case-sensitive string comparison against lowercase string literals (.bat and .cmd). On Windows operating systems, file extensions are case-insensitive, meaning files with extensions like .BAT, .Bat, .CMD, or .Cmd are all valid and executable batch files.

This oversight allows an attacker to trivially bypass the security mechanism by simply changing the case of the file extension. Once bypassed, the attacker can execute arbitrary batch files, which can contain any Windows commands, effectively achieving command injection capabilities.

Root Cause

The root cause is an improper input validation flaw where the extension check performs a case-sensitive comparison in a context (Windows file system) that is inherently case-insensitive. The security check should have normalized the extension to a consistent case before comparison or used a case-insensitive comparison function.

Attack Vector

The attack vector is network-based and requires no privileges or user interaction. An attacker who can influence the file path passed to Deno's process spawning functions can bypass the batch file restriction by using mixed or uppercase file extensions. For example, if an application spawns processes based on user-supplied filenames, an attacker could provide a path like malicious.BAT instead of malicious.bat to circumvent the security check.

The vulnerability manifests in Deno's process spawning extension validation logic. When a spawn request is made with a file path, the runtime checks if the extension matches .bat or .cmd using direct string comparison. Because this comparison is case-sensitive, paths with alternate casing bypass the check entirely. For detailed technical information, see the GitHub Security Advisory GHSA-m3c4-prhw-mrx6.

Detection Methods for CVE-2026-22864

Indicators of Compromise

  • Process creation events from Deno spawning batch files with non-standard casing (e.g., .BAT, .Bat, .CMD)
  • Unexpected cmd.exe or batch interpreter processes as children of Deno processes
  • Log entries showing file path arguments with mixed-case batch file extensions
  • Anomalous command execution patterns originating from Deno runtime processes

Detection Strategies

  • Monitor Windows process creation events for batch file executions originating from deno.exe parent processes
  • Implement file system monitoring to detect creation of batch files with mixed-case extensions in application directories
  • Enable verbose logging in Deno applications to capture spawn attempts and file paths
  • Use endpoint detection rules to flag case-variant batch file extensions in process arguments

Monitoring Recommendations

  • Configure SentinelOne to alert on suspicious process chains involving Deno and Windows command interpreters
  • Implement application-level logging for all file path inputs that may be used in spawn operations
  • Monitor for unusual patterns of batch file creation or modification in web-accessible directories
  • Review Deno application permissions and restrict process spawning capabilities where possible

How to Mitigate CVE-2026-22864

Immediate Actions Required

  • Upgrade Deno to version 2.5.6 or later immediately
  • Audit applications for any user-controlled input that influences file paths in spawn operations
  • Implement additional input validation to normalize and check file extensions in a case-insensitive manner
  • Consider restricting Deno's --allow-run permission to specific executables only

Patch Information

Deno has released version 2.5.6 which addresses this vulnerability by implementing a case-insensitive comparison for batch file extensions. The fix ensures that all case variations of .bat and .cmd extensions are properly blocked.

For more information, see the Deno v2.5.6 Release Notes and the GitHub Security Advisory.

Workarounds

  • If upgrading is not immediately possible, implement application-level validation to normalize file extensions to lowercase before passing to spawn functions
  • Restrict Deno's permissions using --allow-run=<specific_executables> to limit which programs can be spawned
  • Deploy network segmentation to limit the potential impact of command execution
  • Use Web Application Firewalls or input filtering to block requests containing batch file extensions in any case
bash
# Configuration example - Restrict Deno permissions to specific executables
deno run --allow-run=node,npm script.ts

# Alternatively, run without spawn permissions if not required
deno run --allow-read --allow-write --allow-net script.ts

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechDeno

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-77
  • Technical References
  • GitHub Deno Release v2.5.6
  • Vendor Resources
  • GitHub Security Advisory GHSA-m3c4-prhw-mrx6
  • Related CVEs
  • CVE-2025-48935: Deno Auth Bypass Vulnerability

  • CVE-2026-32260: Deno Runtime RCE Vulnerability

  • CVE-2026-27190: Deno Runtime Command Injection RCE Flaw

  • CVE-2026-22863: Deno Information Disclosure Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English