Skip to main content

Notepad++ CVE-2026-77605

| EUVDEUVD-2026-84573 HIGH
Improper Input Validation (CWE-20)
2026-09-22 GitHub_M
7.8
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Deliver folder with paired text file and sibling .cmd
  2. Delivery
    Victim opens folder as workspace in Notepad++
  3. Exploit
    User invokes 'Run by system' on text file
  4. Execution
    Path resolves to sibling script
  5. Impact
    Execute arbitrary commands as current user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
Exploitation Conditions

Exploitation requires all of: the victim runs Notepad++ prior to 8.9.8 on Windows 10 or Windows 11; the attacker can place files into a folder the victim will open, specifically a malicious script named as the selected text file's path with .cmd appended (e.g., notes.txt.cmd beside notes.txt); the victim opens that folder via the 'Folder as Workspace' feature; and the victim explicitly invokes the 'Run by system' action on the text file. Limiting factors: local attack vector (attacker must get the crafted folder/files onto the victim's system), mandatory user interaction through a specific and non-default workflow, and Windows-only applicability. Code executes only with the current user's privileges (no elevation).

Impact

The vendor CVSS of 7.8 (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) reflects local code execution with full confidentiality, integrity, and availability impact under the current user's context. The attack vector is Local (AV:L) and requires user interaction (UI:R), so this is not a remotely-triggerable, wormable flaw - it depends on a victim opening an attacker-supplied folder as a Notepad++ workspace and explicitly invoking the 'Run by system' action on a text file. There is no EPSS score, no CISA KEV listing, and no public POC in the provided data, so this represents no public exploit identified at time of analysis; the 7.8 is driven by impact (arbitrary command execution), not by ease or likelihood of mass exploitation. The CWE-20 (improper input validation) classification and the commit evidence (switching to a \\?\ literal path and ShellExecuteEx) are consistent with the description of a filename/path-resolution confusion where a sibling .cmd is run instead of the selected file. Net: a genuine local RCE worth patching, but real-world urgency is moderated by the local vector, mandatory user interaction, and the specific, uncommon workflow (Folder as Workspace → Run by system) required to trigger it - a real priority for endpoints handling untrusted file trees, not an internet-facing emergency.

Exploit ScenarioDerived

An attacker distributes a project folder (e.g., via a ZIP, shared drive, or git repo) containing a benign-looking text file such as readme.txt alongside a malicious sibling named readme.txt.cmd. The victim opens the folder as a workspace in Notepad++ on Windows 10/11 and selects 'Run by system' on the text file, causing Notepad++ to resolve and execute the .cmd script as the current user instead of opening the file. No public exploit code is identified, but the technique is straightforward given the described filename-append behavior.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 22, 2026

Arbitrary code execution in Notepad++ prior to 8.9.8 on Windows 10 and Windows 11 occurs when the editor's 'Folder as Workspace' → 'Run by system' action resolves a sibling file instead of the path the user actually selected. If an attacker can place a script named after the selected text file with a .cmd extension appended (for example notes.txt.cmd next to notes.txt), invoking 'Run by system' on the text file causes that script to execute as the current user instead of opening the file. The flaw is local with a required, non-default user workflow (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, 7.8), and no public exploit identified at time of analysis; the vendor-released patch is Notepad++ 8.9.8.

RemediationAI

Upgrade to Notepad++ 8.9.8 or later - vendor-released patch: 8.9.8 - which contains the fix in commit 00fa5df0da1d4f6b334317aa979db13ac77ee24d that canonicalizes the selected path with the \\?\ literal prefix and switches to ShellExecuteEx with SEE_MASK_FLAG_NO_UI; download from the release tag https://github.com/notepad-plus-plus/notepad-plus-plus/releases/tag/v8.9.8 and see the vendor notes at https://notepad-plus-plus.org/news/v898-released and advisory https://github.com/notepad-plus-plus/notepad-plus-plus/security/advisories/GHSA-w5xq-frjg-w4cw. If immediate upgrading is not possible, the effective compensating control is behavioral: do not invoke the 'Run by system' action from the 'Folder as Workspace' pane on files located in directories that untrusted parties can write to, and when such a folder must be inspected, open the file explicitly via File → Open (which does not route through the vulnerable shell-resolution path) - the trade-off is that this breaks the convenience workflow for legitimate folders, and it does not stop similar sibling-file planting against any other shell-invoking feature. Additionally, prevent untrusted folders from reaching the endpoint at all (block or quarantine archives and shared folders that contain paired files such as name.txt and name.txt.cmd, and treat *.txt.cmd-style double extensions as suspicious at mail/web gateways); the trade-off is potential false positives on legitimate scripts, and none of these controls alter the underlying code path, so patching remains the only complete fix.

Affected VersionsENISA

notepad-plus-plus < 8.9.8

Affected Packages

euvd notepad_plus_plus fix: 8.9.8

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The defect sits in Notepad++'s FileBrowser control (PowerEditor/src/WinControls/FileBrowser/fileBrowser.cpp), which handles the 'Folder as Workspace' context menu. On the 'Run by system' command the pre-8.9.8 code passed the selected file's path directly to the Win32 ShellExecute() API with the 'open' verb. ShellExecute performs its own shell-level path resolution and extension discovery rather than treating the argument as a literal filesystem path, so a path whose name is ambiguous against a sibling file with a PATHEXT-style executable extension (notably .cmd on Windows) can resolve to that sibling instead of the intended text file. This is classified as CWE-20 (Improper Input Validation): the application fails to validate/canonicalize the path before handing it to a shell execution API, effectively trusting attacker-influenced directory content. The upstream fix in commit 00fa5df0da1d4f6b334317aa979db13ac77ee24d prepends the Windows extended-length literal prefix (\\?\) to the selected path and replaces ShellExecute() with ShellExecuteEx() using SEE_MASK_FLAG_NO_UI, forcing a literal, non-ambiguous resolution of the user-selected file. Applicability is Windows-specific (Windows 10 and Windows 11), since the behavior depends on Win32 shell path/extension resolution and on the attacker-supplied file living in the same directory the victim browses.

Know when Windows gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

Local file-delivery vector (AV:L) with required user interaction invoking 'Run by system' (UI:R); no attacker privileges on the target needed (PR:N); resulting command execution gives full C/I/A as the current user.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Sep 22, 2026 - 18:02 EUVD
CVE Published
Sep 22, 2026 - 17:13 cve.org
HIGH 7.8

DescriptionCVE.org

Notepad++ is a free and open-source source code editor. Prior to 8.9.8, the Folder as Workspace Run by system action in Notepad++ can resolve a different sibling file than the file selected by the user. When an attacker places a command script whose name is the selected text-file path with .cmd appended, and the user invokes Run by system on the text file on Windows 10 or Windows 11, Notepad++ can execute the sibling script as the current user instead of opening the selected file. This issue is fixed in version 8.9.8.

Technical POC Analysis

Bug class: CWE-20 (Improper Input Validation), and the advisory also tags CWE-706 (Use of Incorrectly-Resolved Name or Reference).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A high-severity flaw in Notepad++ versions prior to 8.9.8 on Windows 10 and 11 lets a crafted file next to the document a user opens cause code to run under that user's own account when they use the editor's 'Run by system' feature. Because Notepad++ is widely installed on developer and IT workstations, a single user opening an untrusted file pair from a download, archive, or shared drive could hand an attacker that user's access to corporate data, credentials, and network shares. The exposure is contained to endpoints rather than servers, and it depends on a specific user action, but the resulting access is broad enough that unmanaged installations represent the main organizational risk.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
High
extremely popular free Windows source-code editor, very broad desktop install base
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
Poc
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

59
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0
CVE-2025-52691 CRITICAL POC
10.0 Dec 29

Unauthenticated remote code execution in SmarterTools SmarterMail lets an attacker upload arbitrary files to any locatio

CVE-2019-0803 HIGH POC
7.8 Apr 09

Windows Win32k fails to properly handle objects in memory, allowing local privilege escalation exploited in the wild in

CVE-2020-1472 MEDIUM POC
5.5 Aug 17

A privilege escalation vulnerability (CVSS 5.5). Risk factors: actively exploited (KEV-listed), EPSS 94% exploitation pr

CVE-2025-33053 HIGH POC
8.8 Jun 10

Windows Internet Shortcut Files (.url) contain an external control vulnerability (CVE-2025-33053, CVSS 8.8) that enables

CVE-2025-33073 HIGH POC
8.8 Jun 10

Windows SMB contains an improper access control vulnerability (CVE-2025-33073, CVSS 8.8) enabling authenticated attacker

CVE-2013-10047 CRITICAL POC
9.3 Aug 01

An unrestricted file upload vulnerability exists in MiniWeb HTTP Server <= Build 300 that allows unauthenticated remote

CVE-2025-34101 CRITICAL POC
9.3 Jul 10

Serviio Media Server versions 1.4 through 1.8 on Windows contain an unauthenticated command injection in the /rest/actio

CVE-2025-34095 CRITICAL POC
9.3 Jul 10

Mako Server versions 2.5 and 2.6 contain an unauthenticated OS command injection via the tutorial interface at examples/

CVE-2026-96951 HIGH POC
8.8 Oct 13

Command injection in the Windows Shell lets remote, unauthenticated attackers bypass a Windows security feature and then

CVE-2025-24054 MEDIUM POC
6.5 Mar 11

External control of file name or path in Windows NTLM allows an unauthorized attacker to perform spoofing over a network

CVE-2026-110936 HIGH POC
8.4 Oct 15

Siemens Software Center (all versions) loads dynamic-link libraries from an uncontrolled search path, allowing an authen

CVE-2025-32706 HIGH POC
7.8 May 13

Windows CLFS Driver contains an input validation flaw enabling local privilege escalation, yet another CLFS kernel vulne

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy