CVE-2026-71858
Notepad++ is a free and open-source source code editor. Prior to …
Notepad++ is a free and open-source source code editor. Prior to 8.9.7, macros loaded from an attacker-controlled shortcuts.xml bypass the HMAC validation applied to UserDefinedCommands and can invoke Scintilla actions and the internal Open in Default Viewer command in an elevated Notepad++ process, allowing protected file modification and conditional elevated command execution when a local attacker influences settingsDir and a user triggers the macro. This issue is fixed in version 8.9.7.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/notepad-plus-plus/notepad-plus-plus/commit/7686e5a3025eaf1fb8e024c2ceb54670ea05
- github.com/notepad-plus-plus/notepad-plus-plus/releases/tag/v8.9.7
- github.com/notepad-plus-plus/notepad-plus-plus/security/advisories/GHSA-f4rj-vqq4-wvg4
- nvd.nist.gov/vuln/detail/CVE-2026-71858
- cve.org/CVERecord?id=CVE-2026-71858
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.