Notepad++ Confirms Targeted Supply-Chain Attack After Update System Hijacked for Months

In a stark reminder that even well-trusted open-source tools can be exploited, the popular text editor Notepad++ experienced a targeted update hijacking campaign that went undetected for months and exposed a select group of users to malicious download files. The project’s maintainers have now publicly acknowledged the incident and offered a comprehensive update on what took place.

How the Attack Worked

Between June and December 2025, attackers compromised the shared hosting infrastructure used by Notepad++ to serve update information and download links for its official software.

Notepad++ uses an internal update mechanism called WinGUp (Windows Generic Updater). When checking for updates, this component contacts a script on the official site (getDownloadUrl.php) to retrieve the location of the installer for the latest version. The client then downloads and runs whatever file appears at the specified URL.

Because earlier versions of this update mechanism did not strictly verify the digital signature or certificate on downloaded installer files, a man-in-the-middle or server-level compromise could redirect update requests and serve a malicious binary. This is exactly what happened: attackers managed to intercept and redirect update traffic and serve compromised executables instead of legitimate update installers.

Infrastructure, Not Code: The True Root Cause

Importantly, there was no inherent flaw in the Notepad++ application source code itself that enabled this attack. Rather, the issue stemmed from attackers gaining access to the hosting environment that powers the Notepad++ website and update infrastructure. Because the update client trusted whatever download URL it received, malicious payloads were delivered to some targeted users.

According to reporting and the project’s own communication, the hosting server was compromised, allowing attackers to intercept incoming update requests and selectively redirect only certain clients to malicious servers.

The Attack Timeline

Though full details are still being pieced together, the public timeline looks roughly like this:

  • June 2025 — Attackers gain unauthorized access to the shared hosting infrastructure.
  • September 2, 2025 — The hosting provider regains control of the main server, but attackers retain credentials to internal systems and continue affecting update mechanisms.
  • December 2, 2025 — Stolen internal credentials expire or are finally rotated, effectively ending the attackers’ ability to manipulate updates.
  • January 2026 — The Notepad++ team publicly acknowledges the incident and updates the community.

This means the compromise lasted for at least six months, during which select users received malicious update files without immediate detection.

Who Was Affected?

Security researchers have noted that this wasn’t a broad, indiscriminate malware campaign. Rather, it appears to have been targeted at specific organisations, including some with interests in telecommunications and financial sectors, and was likely carried out by a state-sponsored threat actor. Multiple analysts have attributed the activity to well-resourced actors based in China, although official attribution can be inherently difficult.

Because the compromised update mechanism could deliver binaries tailored to specific clients based on network or geographic fingerprints, ordinary users who manually downloaded installers or updated from alternate sources may not have been affected. Nonetheless, the implications for supply-chain security are significant.

How Notepad++ Responded

To prevent similar attacks in the future, the Notepad++ developers released version 8.8.9, which introduces several critical security enhancements to the update process:

  • Digital signature and certificate enforcement — During the update process, WinGUp now verifies that the downloaded installer is signed with a valid certificate; if verification fails, the update is aborted.
  • Improved update sources — Prior updates had already moved downloads to trusted GitHub URLs to reduce reliance on the old hosting chain.
  • Removal of legacy root certificates — Users are advised to remove any previously installed Notepad++ self-signed root certificates to ensure only valid, GlobalSign-signed binaries are trusted.

These mitigations don’t just fix the immediate flaw — they reflect a broader hardening of the software supply chain and update integrity for one of the most widely used editors in the world.

Lessons for the Broader Ecosystem

The Notepad++ incident highlights a key lesson in modern security: even trivial utility tools can become vectors for high-level attacks when update mechanisms or host infrastructure are compromised. Traditional vulnerabilities in application code are not the only risk — weaknesses in signing, update validation, or hosting controls can be equally dangerous.

Security experts recommend best practices such as:

  • Always verifying digital signatures on executables and updates.
  • Prefer secure update channels over unverified mirrors.
  • Monitoring update infrastructure for signs of tampering.
  • Applying patches quickly when critical vulnerabilities are disclosed.

The Notepad++ community has responded quickly and transparently to this incident, giving users and administrators both the information and the tools needed to protect their systems. But it also serves as a warning: software supply chain security is a shared responsibility — from developers and infrastructure providers to end users themselves.