CVE-2026-25926

7.3

Notepad++ · Notepad++

An Unsafe Search Path vulnerability in Notepad++ allows local attackers to achieve arbitrary code execution by placing a malicious explorer.exe in a controlled working directory.

Executive summary

A critical Unsafe Search Path vulnerability in Notepad++ versions prior to 8.9.2 could allow local attackers to execute arbitrary code with the privileges of the application.

Vulnerability

The application is susceptible to an Unsafe Search Path (CWE-426) vulnerability when launching Windows Explorer without an absolute path, which can be exploited by local, low-privileged users to execute malicious code.

Business impact

Successful exploitation of this vulnerability allows an attacker to gain arbitrary code execution on the local system. Given the CVSS score of 7.3, this represents a high risk to system integrity and confidentiality, as a malicious actor could escalate privileges or gain persistent access to the local workstation where the software is installed.

Remediation

Immediate Action: Upgrade all Notepad++ installations to version 8.9.2 or later to address the vulnerable search path logic.

Proactive Monitoring: Monitor system logs for unexpected child processes spawned by Notepad++ or the execution of unauthorized binaries from common user-writable directories.

Compensating Controls: Ensure that users operate with the principle of least privilege, limiting the ability of local users to modify directories where the application is executed.

Exploitation status

Public Exploit Available: No (exploit_available: unknown)

Analyst recommendation

This vulnerability presents a significant risk to local system security by allowing potential arbitrary code execution. Organizations should prioritize updating all Notepad++ instances to version 8.9.2 across their environment immediately to mitigate this threat.

More Notepad++ CVEs

Sources