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-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. Attackers can exploit path.join API to access root directories. This article covers technical details, affected versions, and fixes.

Updated: January 22, 2026

CVE-2025-23084 Overview

A path traversal vulnerability has been identified in Node.js affecting the handling of drive names in Windows environments. Certain Node.js functions, particularly the path.join API, do not properly treat drive names as special on Windows systems. As a result, although Node.js assumes a relative path, the path actually refers to the root directory, potentially allowing unauthorized file access.

On Windows, a path that does not start with the file separator is typically treated as relative to the current directory. However, this vulnerability exploits incorrect drive name handling to bypass expected path resolution behavior.

Critical Impact

Attackers may leverage this path traversal vulnerability to access files outside intended directories, potentially exposing sensitive system data or application configurations on Windows systems.

Affected Products

  • Node.js (multiple versions on Windows)
  • Microsoft Windows (as the affected operating system platform)
  • Applications using the path.join API on Windows

Discovery Timeline

  • 2025-01-28 - CVE-2025-23084 published to NVD
  • 2025-11-04 - Last updated in NVD database

Technical Details for CVE-2025-23084

Vulnerability Analysis

This vulnerability stems from improper handling of Windows drive names within Node.js path manipulation functions. The core issue lies in how the path.join API processes path components that include drive letters. When a drive name is passed to path manipulation functions, Node.js incorrectly treats it as a relative path component rather than recognizing it as an absolute reference to a drive root.

This path traversal weakness (CWE-22) allows an attacker with local access to craft path strings that escape the intended directory scope. The vulnerability requires local access and low privileges to exploit, making it relevant in scenarios where user input influences file path construction.

Root Cause

The root cause is improper input validation in the Windows-specific path handling logic within Node.js. The path.join function fails to properly identify and handle Windows drive name syntax (e.g., C: or D:) when processing path components. This oversight causes the function to treat drive specifications as regular path segments, leading to unexpected path resolution that points to root directories instead of the expected relative locations.

Attack Vector

The attack vector requires local access to the system. An attacker can exploit this vulnerability by:

  1. Providing specially crafted path strings containing Windows drive names to applications using path.join
  2. Manipulating user-controlled input that is passed to vulnerable path functions
  3. Leveraging the path confusion to access files outside the intended directory structure

The vulnerability specifically affects the path.join API when processing paths on Windows systems. Applications that construct file paths using user-supplied input without additional validation are particularly susceptible.

Since no verified code examples are available, readers should refer to the Node.js Security Release Blog for detailed technical information about exploitation patterns.

Detection Methods for CVE-2025-23084

Indicators of Compromise

  • Unexpected file access attempts to system root directories or sensitive paths
  • Application logs showing path resolution to unintended locations on Windows systems
  • File access patterns that include drive letter specifications in otherwise relative path contexts
  • Anomalous read operations on files outside application working directories

Detection Strategies

  • Monitor Node.js applications for file access operations targeting root directory paths
  • Implement logging for path.join operations that result in paths containing drive letters
  • Review application logs for path resolution anomalies on Windows deployments
  • Deploy file integrity monitoring on sensitive directories to detect unauthorized access

Monitoring Recommendations

  • Enable detailed logging for file system operations in Node.js applications
  • Configure SentinelOne to monitor for suspicious path traversal patterns in Node.js processes
  • Set up alerts for file access attempts outside expected application directories
  • Review application dependencies and update Node.js to patched versions

How to Mitigate CVE-2025-23084

Immediate Actions Required

  • Update Node.js to the latest patched version addressing this vulnerability
  • Review all uses of path.join and related path APIs for user-controlled input
  • Implement input validation to sanitize path components before processing
  • Consider using path.resolve with explicit base path validation as an additional safeguard

Patch Information

Node.js has released security updates addressing this vulnerability. Refer to the Node.js Security Release Blog for version-specific patch information and upgrade instructions. Additional vendor guidance is available in the NetApp Security Advisory ntap-20250321-0003.

Workarounds

  • Validate and sanitize all user input before passing to path manipulation functions
  • Implement allowlist-based path validation to restrict accessible directories
  • Use path.resolve with a known safe base path and verify the result stays within expected boundaries
  • Consider running Node.js applications in containerized environments with restricted file system access
bash
# Example: Validate resolved paths stay within allowed directory
# Ensure resolved path starts with the expected base directory
# BASE_DIR="/app/data"
# Validate that path.resolve(BASE_DIR, userInput) starts with BASE_DIR

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 Probability0.12%

  • 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 Posting

  • NetApp Security Advisory ntap-20250321-0003
  • Vendor Resources
  • Node.js Security Release 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
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