PoC Monitor
← All CVEs
CVE-2026-48800published 26 Jun 2026 20:12 UTCData: JSON · API

Notepad-plus-plus

Notepad++: Arbitrary Code Execution via shortcuts.xml UserCommand Injection

Notepad++ is a free and open-source source code editor. Prior to 8.9.6.1, the <Command> tag text content inside <UserDefinedCommands> in shortcuts.xml is read by NppXml::value(aNode) (Parameters.cpp:3658) in the feedUserCmds() function and stored in UserCommand._cmd without any validation. When the user clicks the corresponding entry in the Run menu, NppCommands.cpp:4264 creates a Command object with string2wstring(ucmd.getCmd()) and calls run(), which invokes ShellExecute (RunDlg.cpp:221) with the attacker-controlled string as the executable path. The injected command appears as a normal menu item in the Run menu, making it a viable persistence mechanism. This vulnerability is fixed in 8.9.6.1.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.8high · scored by CNA · CWE-78
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

notepad-plus-plus notepad-plus-plus
  • < 8.9.6.1

Fixed in 8.9.6.1

Mitigation

Upgrade notepad-plus-plus to 8.9.6.1 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published26 Jun 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

2 suspicious or fake

Suspicious or fake 2
RepositoryCreatedStarsAssessment
atiilla/Notepad-8.9.6-PoC 28 May 2026 −29 d 6 Fake
kavin-jindal/CVE-2026-48800-PoC 31 May 2026 −27 d 0 Fake

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.