← Vulnerability feed

Vulnerability record · CVE-2026-52884 · published 26 June 2026

CVE-2026-52884: Notepad-plus-plus notepad\+\+ vulnerability

Notepad Plus Plus · Notepad\+\+

Notepad++ is a free and open-source source code editor. In v8.9.6.1, isInTrustedDirectory() does NOT canonicalize the path before checking. It uses a prefix-based check (PathIsPrefix() or equivalent) that matches paths starting with trusted directory strings. A path traversal using ..\..\ after a trusted directory prefix passes the check while resolving to an untrusted location. The CVE-2026-48800 patch adds isInTrustedDirectory() validation in Command::run() (RunDlg.cpp) before calling ShellExecute(). This function checks whether the resolved executable path is under a trusted directory. This vulnerability is fixed in 8.9.6.2.

7.8 CVSS 3.1 High EPSS 0.21% · top 90.2% CWE-42 · CWE-42
7.8CVSS 3.1 base score
0.21%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References, 1 tagged exploit
29 Jun 2026Last modified by NVD

Description

Notepad++ is a free and open-source source code editor. In v8.9.6.1, isInTrustedDirectory() does NOT canonicalize the path before checking. It uses a prefix-based check (PathIsPrefix() or equivalent) that matches paths starting with trusted directory strings. A path traversal using ..\..\ after a trusted directory prefix passes the check while resolving to an untrusted location. The CVE-2026-48800 patch adds isInTrustedDirectory() validation in Command::run() (RunDlg.cpp) before calling ShellExecute(). This function checks whether the resolved executable path is under a trusted directory. This vulnerability is fixed in 8.9.6.2.

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-52884 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

7.7CVE-2025-15556Notepad++ WinGUp updater lacks update integrity verificationNotepad++ versions prior to 8.8.9 use the WinGUp updater, which downloads update metadata and installers without cryptographic verification. An attac…KEVEPSS 1.7%analysed7.8CVE-2026-48778Notepad-plus-plus notepad\+\+ os command injection vulnerabilityNotepad++ is a free and open-source source code editor. Prior to 8.9.6.1, the <GUIConfig name="commandLineInterpreter"> tag in config.xml is read by …EPSS 0.62%7.8CVE-2026-48800Notepad-plus-plus notepad\+\+ os command injection vulnerabilityNotepad++ is a free and open-source source code editor. Prior to 8.9.6.1, the <Command> tag text content inside <UserDefinedCommands> in shortcuts.xm…EPSS 0.21%7.8CVE-2026-5525Notepad-plus-plus notepad\+\+ stack-based buffer overflow vulnerabilityA stack-based buffer overflow vulnerability exists in Notepad++ version 8.9.3 in the file drop handler component. When a user drags and drops a direc…EPSS 0.18%7.8CVE-2023-47452Notepad-plus-plus notepad\+\+ uncontrolled search path element vulnerabilityAn Untrusted search path vulnerability in notepad++ 6.5 allows local users to gain escalated privileges through the msimg32.dll file in the current w…EPSS 0.53%7.8CVE-2023-6401Notepad-plus-plus notepad\+\+ uncontrolled search path element vulnerabilityA vulnerability classified as problematic was found in NotePad++ up to 8.1. Affected by this vulnerability is an unknown functionality of the file db…EPSS 0.33%7.8CVE-2023-40031Notepad-plus-plus notepad\+\+ classic buffer overflow vulnerabilityNotepad++ is a free and open-source source code editor. Versions 8.5.6 and prior are vulnerable to heap buffer write overflow in `Utf8_16_Read::conve…EPSS 0.52%7.8CVE-2022-32168Notepad-plus-plus notepad\+\+ uncontrolled search path element vulnerabilityNotepad++ versions 8.4.1 and before are vulnerable to DLL hijacking where an attacker can replace the vulnerable dll (UxTheme.dll) with his own dll a…EPSS 0.75%

Source: NIST National Vulnerability Database (record CVE-2026-52884), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.