CVE-2025–49144: Notepad++ vulnerability allows full system comp
The Notepad++ installer searched for a dependency executable in its own current directory without verification, so a malicious file with that name placed alongside the installer would be run instead. An attacker could use this to execute arbitrary code and gain a reverse shell with system-level privileges on the victim's machine.
Yes, you heard it absolutely correct. A potential critical vulnerability has been discovered in Notepad++ v8.8.1 which was released on 5th May 2025.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
The installer used an uncontrolled search path, looking for a dependency executable in the current working directory without verifying it.
Impact
An attacker could execute arbitrary code and potentially obtain a reverse shell, giving full control over the victim machine, and this could be combined with phishing to trick a victim into downloading a bundled archive.
What the attacker needed
Victim runs the installer; malicious file in same folder as installer; attacker can reach victim's machine
The fix
The installer should load dependencies from absolute trusted paths such as the system directory, verify digital signatures before executing files, and avoid loading dependencies from user-writable directories.
How it was found
- Create a malicious executable and name it to match the dependency the installer looks for.
- Place that malicious file in the same directory as the Notepad++ installer.
- Start a listener on the attacker machine on the chosen port.
- Run the Notepad++ installer and continue through the normal installation.
- When the installer reaches the extraction stage, the malicious file is executed and a reverse shell connects back.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
When a program starts, it sometimes needs to load other small programs to help it. This installer looked for one of those helper programs in the same folder it was run from, rather than a trusted system folder. If an attacker puts a fake helper with the right name in that folder, the installer runs the fake one, and the attacker's code runs on the victim's computer.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.