Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Notepad++ 8.9.6 - Arbitrary Code Execution

0
Medium
ExploitCVE-2026-48778remoteexploitwindows 10/11cve
Published: Sat May 30 2026 (05/30/2026, 00:00:00 UTC)
Source: Exploit-DB RSS Feed
Vendor/Project: https://notepad-plus-plus.org
Product: https://notepad-plus-plus.org/downloads/v8.9.6

Description

Notepad++ version 8. 9. 6 and earlier contains a vulnerability where the application reads the <GUIConfig name="commandLineInterpreter"> value from its config. xml file without validation. This value is passed to ShellExecute when the user triggers the "Open Containing Folder in cmd" feature. An attacker with write access to the %APPDATA%\Notepad++\ directory can modify this configuration to inject an arbitrary executable path, resulting in code execution with the current user's privileges. Exploit code in Python demonstrates this by injecting a payload that launches calc. exe instead of the command prompt.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/30/2026, 21:38:56 UTC

Technical Analysis

CVE-2026-48778 affects Notepad++ versions up to 8.9.6 on Windows 10/11. The vulnerability arises because Notepad++ reads the <GUIConfig name="commandLineInterpreter"> element from config.xml without validating its content. When the user selects "Open Containing Folder in cmd," the application passes this value directly to ShellExecute, allowing execution of arbitrary commands. An attacker who can write to the %APPDATA%\Notepad++\config.xml file can inject a malicious executable path, leading to arbitrary code execution under the current user context. The exploit requires local write access to the user's AppData folder and is demonstrated with a Python script that modifies the config.xml to launch calc.exe.

Potential Impact

Successful exploitation allows an attacker with write access to the Notepad++ configuration directory to execute arbitrary code with the privileges of the current user. This could lead to unauthorized actions on the affected system, including running malicious programs. There are no reports of known exploits in the wild at this time.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict write permissions to the %APPDATA%\Notepad++\ directory to trusted users only to prevent unauthorized modification of config.xml. Users should monitor the official Notepad++ website and security advisories for updates addressing this vulnerability.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Cve
CVE-2026-48778
Version
<= 8.9.6
Vendor
https://notepad-plus-plus.org
Application
https://notepad-plus-plus.org/downloads/v8.9.6
Author
Kavin Jindal (Avyukt Security) https://www.linkedin.com/in/kavin-jindal
Platform
Windows 10/11
Edb Id
52606
Has Exploit Code
true
Code Language
python

Indicators of Compromise

Exploit Source Code

Exploit Code

Exploit code for Notepad++ 8.9.6 - Arbitrary Code Execution

# Exploit Title: Notepad++ 8.9.6 - Arbitrary Code Execution 
# Date: 2026-05-30
# Exploit Author: Kavin Jindal (Avyukt Security) https://www.linkedin.com/in/kavin-jindal/
# Vendor Homepage: https://notepad-plus-plus.org
# Software Link: https://notepad-plus-plus.org/downloads/v8.9.6/
# Version: <= 8.9.6
# Tested on: Windows 10/11
# CVE: CVE-2026-48778
# Reference: https://github.com/notepad-plus-plus/notepad-plus-plus/security/advisories/GHSA-7hm3-wp5q-ccv9
#
# Description:
# Notepad++ reads <GU
... (1626 more characters)
Code Length: 2,126 characters

Threat ID: 6a1b58ece29bf47b508cc6ef

Added to database: 5/30/2026, 9:38:52 PM

Last enriched: 5/30/2026, 9:38:56 PM

Last updated: 5/31/2026, 2:10:40 AM

Views: 14

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses