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-2023-6401

CVE-2023-6401: Notepad++ Path Traversal Vulnerability

CVE-2023-6401 is a path traversal vulnerability in Notepad++ up to version 8.1 affecting the dbghelp.exe file. This article covers the technical details, affected versions, security impact, and mitigation strategies.

Published: February 4, 2026

CVE-2023-6401 Overview

A vulnerability classified as problematic was found in Notepad++ up to version 8.1. Affected by this vulnerability is an unknown functionality of the file dbghelp.exe. The manipulation leads to an uncontrolled search path vulnerability (CWE-427), which could allow an attacker with local access to achieve privilege escalation or execute arbitrary code by placing a malicious DLL in the application's search path.

Critical Impact

Local attackers could exploit the uncontrolled search path vulnerability to execute malicious code with the privileges of the Notepad++ process, potentially leading to full system compromise.

Affected Products

  • Notepad++ versions up to 8.1
  • Systems running affected versions of Notepad++ with dbghelp.exe
  • Windows environments where Notepad++ is installed

Discovery Timeline

  • 2023-11-30 - CVE-2023-6401 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2023-6401

Vulnerability Analysis

This vulnerability is an uncontrolled search path issue (CWE-427) affecting Notepad++ versions through 8.1. The flaw exists within the application's handling of the dbghelp.exe component, where improper control over the search path allows for potential DLL hijacking attacks. When the application attempts to load a required library, it may search in directories that an attacker can influence before checking trusted locations.

The local attack vector requires an attacker to have some level of access to the target system. Once positioned, they can place a malicious DLL in a directory that is searched before the legitimate Windows system directory. When Notepad++ or its associated dbghelp.exe component loads, it may inadvertently load the attacker's malicious library instead of the legitimate one.

Root Cause

The root cause of CVE-2023-6401 is the application's failure to properly specify or control the search path when loading external libraries or executables. When Windows searches for DLLs to load, it follows a specific search order that typically includes the application's directory, the current working directory, and various system directories. If the application does not explicitly specify the full path to required libraries or does not restrict the search order, an attacker can exploit this by placing a malicious DLL in a higher-priority search location.

Attack Vector

The attack requires local access to the target system. An attacker would need to:

  1. Identify a writable directory that appears in the DLL search path before trusted system directories
  2. Place a malicious DLL with the same name as a legitimate library expected by Notepad++ or dbghelp.exe
  3. Wait for or trigger the execution of Notepad++
  4. When the application loads, it searches for required libraries and finds the malicious DLL first
  5. The malicious code executes with the same privileges as the Notepad++ process

The vulnerability can be exploited without user interaction once the malicious DLL is in place. The attack relies on the predictable behavior of the Windows DLL search order and the application's failure to use secure loading practices.

Detection Methods for CVE-2023-6401

Indicators of Compromise

  • Unexpected DLL files appearing in Notepad++ installation directories or user-writable paths
  • Suspicious dbghelp.dll or similarly named files in non-standard locations
  • Process execution anomalies where Notepad++ spawns unexpected child processes

Detection Strategies

  • Monitor for DLL loading events from Notepad++ that originate from unexpected directories
  • Implement file integrity monitoring on Notepad++ installation directories
  • Use application whitelisting to detect unauthorized library loads

Monitoring Recommendations

  • Enable Windows Security Event logging for process creation and DLL loading events
  • Configure SIEM rules to alert on Notepad++ loading libraries from user-writable directories
  • Regularly audit the Notepad++ installation directory for unauthorized modifications

How to Mitigate CVE-2023-6401

Immediate Actions Required

  • Upgrade Notepad++ to the latest available version
  • Restrict write permissions to the Notepad++ installation directory
  • Implement application whitelisting to prevent unauthorized DLL loading
  • Audit systems for any suspicious DLLs in the application's search path

Patch Information

The vendor was contacted about this vulnerability but did not respond. Users should upgrade to the latest version of Notepad++ if available, as newer versions may address this issue. For additional technical details and tracking information, refer to VulDB #246421.

Workarounds

  • Ensure the Notepad++ installation directory and its parent directories are only writable by administrators
  • Remove write permissions for standard users from directories in the application's search path
  • Consider running Notepad++ in a sandboxed environment to limit potential impact
  • Use Windows Defender Application Control (WDAC) or AppLocker policies to restrict DLL loading
bash
# Configuration example - Restrict directory permissions
# Set ACL to prevent non-admin users from writing to Notepad++ directory
icacls "C:\Program Files\Notepad++" /inheritance:r /grant:r Administrators:F /grant:r "SYSTEM":F /grant:r Users:RX

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

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechNotepad Plus Plus

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-427
  • Technical References
  • VulDB CTI ID #246421

  • VulDB #246421
  • Related CVEs
  • CVE-2026-25926: Notepad++ RCE Vulnerability

  • CVE-2025-15556: Notepad++ WinGUp Updater RCE Vulnerability

  • CVE-2025-56383: Notepad++ v8.8.3 DLL Hijacking RCE Flaw

  • CVE-2025-49144: Notepad++ Privilege Escalation Flaw
Default Legacy - Prefooter | 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