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-0775

CVE-2026-0775: npm CLI Privilege Escalation Vulnerability

CVE-2026-0775 is a local privilege escalation flaw in npm CLI caused by incorrect permission assignment. Attackers can exploit insecure module loading to execute code as other users. This article covers technical details, impact, and mitigation.

Published: January 30, 2026

CVE-2026-0775 Overview

CVE-2026-0775 is a local privilege escalation vulnerability affecting npm cli installations. This vulnerability allows local attackers to escalate privileges on affected systems by exploiting incorrect permission assignments in how npm handles module loading. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.

The specific flaw exists within the handling of modules where the application loads modules from an unsecured location. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of a target user.

Critical Impact

Local attackers with low-privileged access can escalate to higher privileges and execute arbitrary code in the context of another user, potentially compromising system integrity and confidentiality.

Affected Products

  • npm cli (specific versions not disclosed in advisory)

Discovery Timeline

  • 2026-01-23 - CVE-2026-0775 published to NVD
  • 2026-01-26 - Last updated in NVD database

Technical Details for CVE-2026-0775

Vulnerability Analysis

This vulnerability is classified as CWE-732 (Incorrect Permission Assignment for Critical Resource). The flaw stems from npm cli's insecure handling of module loading paths, where modules are loaded from locations that lack proper access controls. When npm cli processes modules, it fails to verify that the module source directory has appropriate permissions, allowing a local attacker to place malicious code in these unsecured locations.

The attack requires local access and low privileges initially, but exploitation complexity is considered high due to the need to position malicious modules in the correct location and timing. However, successful exploitation results in high impact to confidentiality, integrity, and availability as the attacker gains the ability to execute code with elevated privileges.

Root Cause

The root cause of this vulnerability is incorrect permission assignment for critical resources during the module loading process. npm cli does not adequately validate or restrict the permissions on directories from which it loads modules, creating an opportunity for privilege escalation through malicious module injection.

Attack Vector

The attack is local in nature and follows this general pattern:

  1. Attacker gains initial low-privileged access to a system with npm cli installed
  2. Attacker identifies unsecured module loading paths used by npm cli
  3. Attacker places malicious module code in the unsecured location
  4. When a higher-privileged user or process runs npm cli, the malicious module is loaded
  5. Arbitrary code executes in the context of the target user, achieving privilege escalation

The vulnerability was tracked by Zero Day Initiative as ZDI-CAN-25430 and published as ZDI-26-043.

Detection Methods for CVE-2026-0775

Indicators of Compromise

  • Unexpected files or modules appearing in npm's module loading directories
  • Unusual processes spawned by npm or node with elevated privileges
  • File permission changes on npm-related directories or configuration files
  • Anomalous user activity patterns involving npm operations

Detection Strategies

  • Monitor file system changes in npm's module directories for unauthorized modifications
  • Implement file integrity monitoring (FIM) on critical npm installation paths
  • Audit process creation events for unexpected privilege escalation patterns involving npm or node processes
  • Review system logs for abnormal npm cli execution by privileged accounts

Monitoring Recommendations

  • Enable detailed logging for npm operations and module loading events
  • Configure endpoint detection and response (EDR) solutions to alert on suspicious module loading behavior
  • Establish baselines for normal npm usage patterns and alert on deviations
  • Monitor for TOCTOU-style attacks targeting module loading paths

How to Mitigate CVE-2026-0775

Immediate Actions Required

  • Audit file permissions on all npm module directories and ensure proper access controls
  • Restrict write access to npm installation and module directories to administrative users only
  • Review and limit which users have the ability to execute npm cli on critical systems
  • Apply vendor patches when available from npm

Patch Information

At the time of publication, patch information has not been disclosed. Organizations should monitor the Zero Day Initiative Advisory ZDI-26-043 and npm's official security advisories for patch availability and specific version remediation guidance.

Workarounds

  • Restrict npm module directory permissions to prevent unauthorized writes using appropriate file system ACLs
  • Run npm cli with the principle of least privilege, avoiding execution as root or administrator
  • Consider using containerized environments to isolate npm operations from the host system
  • Implement application whitelisting to prevent unauthorized modules from being loaded
bash
# Example: Secure npm module directory permissions
# Check current permissions on npm global modules
ls -la $(npm root -g)

# Restrict write access to root only (adjust path as needed)
sudo chown -R root:root $(npm root -g)
sudo chmod -R 755 $(npm root -g)

# Verify npm prefix configuration
npm config get prefix

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechNpm

  • SeverityHIGH

  • CVSS Score7.0

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-732
  • Technical References
  • Zero Day Initiative Advisory ZDI-26-043
  • Related CVEs
  • CVE-2026-2265: Replicator npm Package RCE Vulnerability

  • CVE-2026-3449: @tootallnate/once Package 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