CVE-2025-49144
Notepad++ vulnerability analysis and mitigation

Overview

CVE-2025-49144 is a local privilege escalation vulnerability in the Notepad++ installer (versions 8.8.1 and prior) that allows unprivileged users to gain SYSTEM-level privileges through insecure executable search paths (binary planting). The vulnerability was published on June 23, 2025, and a fix was released in version 8.8.2. It carries a CVSS v3.1 base score of 7.3 (High) (GitHub Advisory, Feedly).

Technical details

The root cause is an uncontrolled search path element (CWE-427) in the Notepad++ NSIS-based installer script, which invokes system utilities such as regsvr32 and rundll32 without specifying their full absolute paths. This means the installer searches the current working directory before system directories, enabling a binary planting attack. An attacker who can place a malicious executable named regsvr32.exe or rundll32.exe in the same directory as the installer (e.g., the user's Downloads folder) will have that executable run automatically with SYSTEM privileges when the installer executes. The fix, committed in the Notepad++ repository, replaces bare executable names with fully qualified paths such as $winSysDir\regsvr32.exe and $winSysDir\rundll32.exe (GitHub Advisory, GitHub Commit). Additional CWEs include CWE-272 (Least Privilege Violation) and CWE-276 (Incorrect Default Permissions).

Impact

Successful exploitation grants the attacker full NT AUTHORITY\SYSTEM privileges on the affected Windows host, resulting in complete compromise of confidentiality, integrity, and availability. An attacker can install malware, create backdoor accounts, exfiltrate sensitive data, disable security controls, or use the compromised system as a pivot point for lateral movement within the network. Because SYSTEM is the highest privilege level on Windows, no further local escalation is needed after exploitation (GitHub Advisory, Feedly).

Exploitation steps

  1. Reconnaissance: Identify targets who are likely to download and run the Notepad++ v8.8.1 installer (e.g., developers, IT staff). Confirm the target is running a vulnerable version (≤8.8.1).
  2. Prepare malicious executable: Craft a malicious binary named regsvr32.exe or rundll32.exe (e.g., a reverse shell payload compiled with msfvenom or a custom C program that adds a SYSTEM-level backdoor account).
  3. Deliver to target directory: Use social engineering, phishing, or clickjacking to trick the victim into downloading both the legitimate Notepad++ v8.8.1 installer and the malicious regsvr32.exe into the same directory (typically C:\Users\<user>\Downloads\).
  4. Trigger installer execution: Convince the victim to run the legitimate Notepad++ installer (e.g., npp.8.8.1.Installer.x64.exe). The installer, running with elevated privileges via UAC, searches the current directory first for regsvr32 and rundll32.
  5. Achieve SYSTEM execution: The installer's ExecWait 'regsvr32 /u /s ...' call resolves to the attacker's malicious binary in the Downloads folder, executing it with NT AUTHORITY\SYSTEM privileges automatically.
  6. Post-exploitation: The malicious payload establishes persistence (e.g., reverse shell, new admin account, scheduled task) and the attacker gains full SYSTEM-level control of the host (GitHub Advisory, Qualys ThreatProtect).

Indicators of compromise

  • Process: Unexpected child processes spawned by the Notepad++ installer process (e.g., npp.*.Installer*.exe) that are not C:\Windows\System32\regsvr32.exe or C:\Windows\System32\rundll32.exe; processes named regsvr32.exe or rundll32.exe running from non-system directories (e.g., C:\Users\<user>\Downloads\).
  • File System: Presence of regsvr32.exe, rundll32.exe, or similarly named executables in user-writable directories such as C:\Users\<user>\Downloads\ alongside a Notepad++ installer; unexpected new executables or scripts in C:\Windows\System32\ or startup folders created around the time of installer execution.
  • Logs: Windows Security Event Log entries (Event ID 4688) showing process creation of regsvr32.exe or rundll32.exe from paths outside C:\Windows\System32\; Sysmon Event ID 1 logs showing parent process as the Notepad++ installer with unusual image paths for child processes.
  • Network: Outbound connections from processes spawned by the Notepad++ installer to unknown external IP addresses or C2 infrastructure shortly after installer execution.
  • Registry: New scheduled tasks, services, or Run keys created by a SYSTEM-level process around the time of Notepad++ installation (Graylog Detection Blog, SigmaHQ).

Mitigation and workarounds

Upgrade Notepad++ to version 8.8.2 or later, which resolves the vulnerability by replacing all unqualified executable references in the installer with fully qualified absolute paths (e.g., $winSysDir\regsvr32.exe) (GitHub Commit, Notepad++ Downloads). As a workaround prior to patching, users should ensure no untrusted files are present in the same directory as the installer before running it, and should download installers only from the official Notepad++ website. Organizations should implement application whitelisting (e.g., Windows Defender Application Control) to prevent unauthorized executables from running with elevated privileges, and educate users on the risks of downloading files to shared directories.

Community reactions

The vulnerability received significant media coverage from outlets including Bitdefender, Help Net Security, GBHackers, CyberSecurityNews, and The Hacker News weekly recap, all highlighting the SYSTEM-level privilege escalation risk and the availability of public PoCs (Bitdefender, Help Net Security). The CVE trended in the top 10 CVEs on Reddit's r/CVEWatch for multiple consecutive days following disclosure. Community discussion on Reddit's r/notepadplusplus and r/cybersecurity included users reporting Notepad++ 8.8.2 being flagged as malware by some security tools, likely due to heuristic detection of the new installer behavior. Unverified claims of state-sponsored actor exploitation circulated in February 2026, though these have not been officially confirmed (Basefortify).

Additional resources


SourceThis report was generated using AI

Related Notepad++ vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-52884HIGH7.8
  • Notepad++ logoNotepad++
  • cpe:2.3:a:notepad-plus-plus:notepad\+\+
NoYesJun 26, 2026
CVE-2026-48800HIGH7.8
  • Notepad++ logoNotepad++
  • cpe:2.3:a:notepad-plus-plus:notepad\+\+
NoYesJun 26, 2026
CVE-2026-48778HIGH7.8
  • Notepad++ logoNotepad++
  • cpe:2.3:a:notepad-plus-plus:notepad\+\+
NoYesJun 26, 2026
CVE-2026-52885HIGH7.5
  • Notepad++ logoNotepad++
  • cpe:2.3:a:notepad-plus-plus:notepad\+\+
NoYesJun 26, 2026
CVE-2026-48770MEDIUM5
  • Notepad++ logoNotepad++
  • cpe:2.3:a:notepad-plus-plus:notepad\+\+
NoYesJun 26, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management