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
    • 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-2025-23084

CVE-2025-23084: Node.js Path Traversal Vulnerability

CVE-2025-23084 is a path traversal flaw in Node.js affecting Windows drive name handling in path.join API. Attackers can exploit relative paths to access root directories. This article covers technical details, impact, and fixes.

Updated: May 15, 2026

CVE-2025-23084 Overview

CVE-2025-23084 is a path traversal vulnerability in Node.js affecting Windows environments. Certain Node.js functions, including the path.join API, do not treat drive names as special on Windows. Node.js assumes the input is a relative path, but Windows resolves it against the root of the specified drive. This mismatch allows an attacker with local access to manipulate file path resolution and access resources outside the intended directory.

The issue is tracked under [CWE-22] (Improper Limitation of a Pathname to a Restricted Directory).

Critical Impact

Applications using path.join on Windows can be tricked into reading files outside the expected directory, enabling confidentiality breaches in multi-tenant or sandboxed Node.js services.

Affected Products

  • Node.js (multiple release lines — see vendor advisory)
  • Microsoft Windows (all supported versions running affected Node.js)
  • Applications relying on path.join for path sanitization on Windows

Discovery Timeline

  • 2025-01-28 - CVE-2025-23084 published to NVD
  • January 2025 - Node.js publishes January 2025 Security Releases
  • 2025-03-21 - NetApp publishes NTAP-20250321-0003 Security Advisory
  • 2025-07-22 - Disclosure post on Openwall OSS-Security List
  • 2025-11-04 - Last updated in NVD database

Technical Details for CVE-2025-23084

Vulnerability Analysis

The vulnerability stems from how Node.js parses Windows-style paths that contain drive letters without a separator. On Windows, a path such as C:foo is not absolute. The operating system interprets it as relative to the current working directory of drive C:, while a path beginning with C:\ is absolute and rooted at the drive.

Node.js path-handling routines on Windows treat the leading drive component as ordinary path text rather than a special construct. When an application calls path.join('safe_base', userInput) and userInput contains a drive specifier like C:evil, the resulting string can resolve to a location outside safe_base once passed to a file system API.

The impact is limited to confidentiality (C:H in the CVSS vector) because file system reads are the primary observed consequence. Exploitation requires local access and low privileges, and no user interaction is required.

Root Cause

The root cause is incomplete Windows-specific input validation inside Node.js path utilities. The library does not normalize drive-relative paths the way Windows itself does. As a result, the abstraction provided by path.join does not match the file system semantics it ultimately interacts with, breaking developer assumptions about containment.

Attack Vector

An attacker who can supply input to a Node.js application running on Windows can craft a payload using drive-relative notation (for example, C:Users\victim\file.txt). When the application joins this string with a trusted base path and then opens it, the file system resolves the request against the drive root rather than the intended directory, leading to information disclosure outside the sandbox.

No verified public proof-of-concept code is available. Refer to the Node.js Security Releases Blog for vendor-provided technical details.

Detection Methods for CVE-2025-23084

Indicators of Compromise

  • Node.js process accessing files outside expected application directories on Windows hosts
  • Application logs showing user-supplied input containing drive letters such as C:, D:, or other volume identifiers concatenated with file names
  • File open events targeting sensitive paths like C:\Users\, C:\Windows\, or configuration directories from a Node.js worker process

Detection Strategies

  • Inventory Node.js installations on Windows servers and developer workstations and compare versions against the fixed releases listed in the vendor advisory
  • Audit application source code for use of path.join, path.resolve, and fs APIs where untrusted input is concatenated with trusted base directories
  • Add runtime checks that reject any path segment matching the Windows drive pattern (^[A-Za-z]:) before passing input to file system functions

Monitoring Recommendations

  • Enable file integrity and access monitoring on Windows hosts running Node.js services, with alerts on reads from outside designated application directories
  • Forward Node.js application logs and Windows Security event logs to a centralized analytics platform for correlation of suspicious path inputs
  • Track process command lines and child process activity from node.exe to identify anomalous file access patterns

How to Mitigate CVE-2025-23084

Immediate Actions Required

  • Upgrade Node.js to a patched release as documented in the January 2025 Security Releases
  • Identify all Windows hosts running Node.js, including embedded runtimes shipped with desktop and server applications
  • Review application code paths that accept user-supplied file names or paths and add explicit validation against Windows drive-relative notation

Patch Information

The Node.js project addressed the issue in the January 2025 security release cycle. Affected release lines and exact fixed versions are listed in the Node.js Security Releases Blog. NetApp products bundling Node.js are tracked in NTAP-20250321-0003.

Workarounds

  • Validate user-supplied path segments with a strict allowlist before passing them to path.join, rejecting any value containing : on Windows
  • Resolve the final path with path.resolve and verify it begins with the intended base directory before performing file operations
  • Run Node.js services under least-privilege Windows accounts to limit the scope of files an attacker can read through path traversal
bash
# Example: verify the resolved path stays within the intended base directory
const path = require('path');
const base = path.resolve('C:\\app\\data');
const target = path.resolve(base, userInput);
if (!target.startsWith(base + path.sep)) {
  throw new Error('Path traversal attempt detected');
}

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechNodejs

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability1.29%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Technical References
  • Openwall OSS-Security List Post

  • NetApp Security Advisory NTAP-20250321-0003
  • Vendor Resources
  • Node.js Security Releases Blog
  • Related CVEs
  • CVE-2023-39332: Node.js Path Traversal Vulnerability

  • CVE-2023-32004: Node.js Path Traversal Vulnerability

  • CVE-2024-21896: Node.js Path Traversal Vulnerability

  • CVE-2024-21891: Node.js Path Traversal 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