The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-21636

CVE-2026-21636: Node.js Privilege Escalation Vulnerability

CVE-2026-21636 is a privilege escalation flaw in Node.js that allows Unix Domain Socket connections to bypass network restrictions. This post explains its impact, affected versions, and mitigation steps.

Published: January 23, 2026

CVE-2026-21636 Overview

A flaw in Node.js's permission model allows Unix Domain Socket (UDS) connections to bypass network restrictions when --permission is enabled. Even without --allow-net, attacker-controlled inputs (such as URLs or socketPath options) can connect to arbitrary local sockets via net, tls, or undici/fetch. This breaks the intended security boundary of the permission model and enables access to privileged local services, potentially leading to privilege escalation, data exposure, or local code execution.

Critical Impact

This vulnerability allows attackers to bypass Node.js's experimental permission model and access privileged local services through Unix Domain Sockets, potentially enabling privilege escalation or local code execution.

Affected Products

  • Node.js v25 (users of the permission model feature)

Discovery Timeline

  • 2026-01-20 - CVE CVE-2026-21636 published to NVD
  • 2026-01-21 - Last updated in NVD database

Technical Details for CVE-2026-21636

Vulnerability Analysis

This vulnerability represents an Authorization Bypass in Node.js's experimental permission model. The flaw allows processes running under the --permission flag to circumvent network access restrictions by exploiting Unix Domain Socket (UDS) connections. The permission model is designed to sandbox Node.js applications by restricting access to file system, network, and other resources. However, the implementation fails to properly validate socket connections when the target is a local Unix domain socket rather than a network address.

The vulnerability is classified under CWE-284 (Improper Access Control), indicating a fundamental gap in how the permission model enforces its security boundaries. While network permissions (--allow-net) remain in the experimental phase, users relying on this feature for security isolation are exposed to potential bypass attacks.

Root Cause

The root cause lies in the incomplete enforcement of network restrictions within Node.js's permission model. When evaluating whether a connection should be permitted, the permission system does not adequately distinguish between traditional network sockets and Unix Domain Sockets. This oversight allows connections to local socket files even when --allow-net has not been granted.

The net, tls, and undici/fetch modules can all be leveraged to establish connections to arbitrary local sockets by supplying attacker-controlled inputs such as specially crafted URLs or socketPath options. Since UDS connections are treated differently than TCP/IP connections by the permission check logic, they slip through the security boundary.

Attack Vector

An attacker can exploit this vulnerability by providing malicious input to a Node.js application running with the --permission flag. The attack scenario involves:

  1. Identifying a Node.js application using the permission model for security sandboxing
  2. Supplying crafted input (URLs or socket path configurations) to the application
  3. The application attempts to connect using net.connect(), tls.connect(), or fetch() with the malicious socket path
  4. The connection bypasses the --allow-net restriction and reaches privileged local services
  5. The attacker gains access to sensitive data or can trigger actions on local services (e.g., Docker socket, database sockets)

The vulnerability allows attackers to communicate with privileged local services that typically trust local connections, potentially leading to container escapes, database access, or other escalation scenarios.

Detection Methods for CVE-2026-21636

Indicators of Compromise

  • Unexpected connections to Unix domain sockets from Node.js processes running with --permission flag
  • Log entries showing socket connections to paths like /var/run/docker.sock, /var/run/mysql.sock, or other privileged service sockets
  • Application behavior indicating unauthorized access to local services despite permission model restrictions

Detection Strategies

  • Monitor Node.js process arguments for usage of --permission flag without corresponding --allow-net permission
  • Implement file system auditing on critical Unix domain socket files to detect unexpected access
  • Review application logs for socket connection attempts to sensitive local services
  • Deploy endpoint detection to identify anomalous local socket communication patterns

Monitoring Recommendations

  • Enable audit logging for Unix domain socket access on systems running sandboxed Node.js applications
  • Configure alerts for Node.js processes making connections to privileged socket paths
  • Implement network monitoring to detect unusual local inter-process communication
  • Review application input handling for socket path or URL parameters that could be user-controlled

How to Mitigate CVE-2026-21636

Immediate Actions Required

  • Upgrade Node.js v25 to the latest patched version addressing this vulnerability
  • Review all applications using the --permission flag and assess their exposure to user-controlled socket paths
  • Implement additional input validation to sanitize any user-supplied URLs or socket path configurations
  • Consider file system permissions to restrict access to sensitive Unix domain sockets

Patch Information

Node.js has released security updates addressing this vulnerability in the December 2025 Security Releases. Users should upgrade to the patched version of Node.js v25 to remediate this issue. The fix properly enforces permission model restrictions on Unix Domain Socket connections.

Workarounds

  • Avoid relying solely on Node.js's experimental permission model for security-critical sandboxing
  • Use operating system-level security mechanisms (containers, seccomp, AppArmor) as additional defense layers
  • Restrict file system permissions on sensitive Unix domain socket files to prevent unauthorized access
  • Validate and sanitize all user-controlled inputs that could influence socket connection parameters
bash
# Restrict access to sensitive socket files
chmod 600 /var/run/docker.sock
chown root:root /var/run/docker.sock

# Consider using socket activation with restricted access
# Or use container isolation for untrusted Node.js applications

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechNode Js

  • SeverityMEDIUM

  • CVSS Score5.8

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-284
  • Technical References
  • Node.js December 2025 Security Releases
  • Related CVEs
  • CVE-2025-55132: Node.js Privilege Escalation Vulnerability

  • CVE-2024-36137: Node.js Privilege Escalation Vulnerability

  • CVE-2026-21717: Node.js V8 Hash Collision DoS Vulnerability

  • CVE-2025-59464: Node.js OpenSSL Memory Leak DoS Vulnerability
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