← Vulnerability feed

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

CVE-2026-48778: Notepad-plus-plus notepad\+\+ os command injection vulnerability

Notepad Plus Plus · Notepad\+\+

Notepad++ 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 NppXml::value() (Parameters.cpp:6430) and stored in _nppGUI._commandLineInterpreter without any validation, whitelist, or digital signature check. When the user triggers IDM_FILE_OPEN_CMD (File → Open Containing Folder → cmd), NppCommands.cpp:228 creates a Command object with this value and calls run(), which invokes ShellExecute (RunDlg.cpp:221) with the attacker-controlled string as the executable path. This vulnerability is fixed in 8.9.6.1.

7.8 CVSS 3.1 High EPSS 0.62% · top 52.4% CWE-78 · OS command injection
7.8CVSS 3.1 base score
0.62%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
3References, 2 tagged exploit
29 Jun 2026Last modified by NVD

Description

Notepad++ 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 NppXml::value() (Parameters.cpp:6430) and stored in _nppGUI._commandLineInterpreter without any validation, whitelist, or digital signature check. When the user triggers IDM_FILE_OPEN_CMD (File → Open Containing Folder → cmd), NppCommands.cpp:228 creates a Command object with this value and calls run(), which invokes ShellExecute (RunDlg.cpp:221) with the attacker-controlled string as the executable path. This vulnerability is fixed in 8.9.6.1.

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-48778 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-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-52884Notepad-plus-plus notepad\+\+ vulnerabilityNotepad++ 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…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-48778), CISA KEV, FIRST EPSS (scores of 2026-09-28). This page is refreshed as NVD updates the record.