{"id":13206,"date":"2026-05-28T10:03:42","date_gmt":"2026-05-28T10:03:42","guid":{"rendered":"https:\/\/serisec.com\/index.php\/2026\/05\/28\/critical-notepad-vulnerabilities-allow-attackers-to-execute-arbitrary-code\/"},"modified":"2026-05-28T10:03:42","modified_gmt":"2026-05-28T10:03:42","slug":"critical-notepad-vulnerabilities-allow-attackers-to-execute-arbitrary-code","status":"publish","type":"post","link":"https:\/\/serisec.com\/index.php\/2026\/05\/28\/critical-notepad-vulnerabilities-allow-attackers-to-execute-arbitrary-code\/","title":{"rendered":"Critical Notepad++ Vulnerabilities Allow Attackers to Execute Arbitrary Code"},"content":{"rendered":"<p>    Critical Notepad++ Vulnerabilities Allow Attackers to Execute Arbitrary Code<br \/>\n \t<BR><br \/>\n<BR><\/BR><br \/>\n    <!-- no image --><br \/>\n \t<BR><br \/>\n<BR><\/BR><\/p>\n<div>\n<p class=\"wp-block-paragraph\">Notepad++, one of the most widely used open-source text editors for Windows, has released an urgent security update addressing three vulnerabilities, including two <a href=\"https:\/\/cybersecuritynews.com\/critical-chrome-rce-vulnerabilities\/\" target=\"_blank\" rel=\"noreferrer noopener\">arbitrary code execution<\/a> flaws that could allow attackers to silently run malicious programs on a victim\u2019s machine.<\/p>\n<p class=\"wp-block-paragraph\">The Notepad++ development team released version v8.9.6.1 on May 26, 2026, patching all three vulnerabilities. Users running v8.9.6 or earlier are urged to update immediately.<\/p>\n<h2 id=\"h-notepad-vulnerabilities\" class=\"wp-block-heading\"><strong>Notepad++ Vulnerabilities<\/strong><\/h2>\n<p class=\"wp-block-paragraph\">The update resolves the following vulnerabilities:<\/p>\n<figure class=\"wp-block-table\">\n<table class=\"has-fixed-layout\">\n<thead>\n<tr>\n<th>CVE ID<\/th>\n<th>Severity<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>CVE-2026-48770<\/td>\n<td>High<\/td>\n<td>Crash via malformed XML structure<\/td>\n<\/tr>\n<tr>\n<td>CVE-2026-48778<\/td>\n<td>Critical<\/td>\n<td>Arbitrary code execution via config.xml<\/td>\n<\/tr>\n<tr>\n<td>CVE-2026-48800<\/td>\n<td>Critical<\/td>\n<td>Arbitrary code execution via shortcuts.xml<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<p class=\"wp-block-paragraph\">The most severe of the three is CVE-2026-48778, which targets the <code>&lt;GUIConfig name=\"commandLineInterpreter\"&gt;<\/code> tag inside Notepad++\u2019s <code>config.xml<\/code> file.<\/p>\n<p class=\"wp-block-paragraph\">The editor reads this value through <code>NppXml::value()<\/code> in <code>Parameters.cpp<\/code> and stores it without any validation, whitelist, or digital signature check.<\/p>\n<p class=\"wp-block-paragraph\">When a user triggers File \u2192 Open Containing Folder \u2192 cmd, the application creates a command object using the attacker-controlled string and passes it directly to <code>ShellExecute()<\/code> effectively executing whatever executable the attacker has planted.<\/p>\n<p class=\"wp-block-paragraph\">A simple proof-of-concept payload placing <code>calc.exe<\/code> in the XML tag causes Windows Calculator to launch instead of the intended command prompt, confirming full code execution capability.<\/p>\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/github.com\/notepad-plus-plus\/notepad-plus-plus\/security\/advisories\/GHSA-7hm3-wp5q-ccv9\" target=\"_blank\" rel=\"noreferrer noopener\">Researchers identified several realistic paths<\/a> an attacker could exploit CVE-2026-48778:<\/p>\n<ul class=\"wp-block-list\">\n<li>\n<strong>Direct config file write<\/strong> \u2014 any process running under the same user account can modify <code>%APPDATA%Notepad++config.xml<\/code>\n<\/li>\n<li>\n<strong>Malicious shortcut (.lnk)<\/strong> \u2014 using the <code>-settingsDir=<\/code> flag to redirect Notepad++ to an attacker-controlled settings directory.<\/li>\n<li>\n<strong>Cloud sync poisoning<\/strong> \u2014 Notepad++ supports a user-configurable cloud path, which an attacker could poison through compromised cloud storage.<\/li>\n<li>\n<strong>Social engineering via archive extraction<\/strong> \u2014 tricking users into extracting malicious archives that drop a tampered config into AppData.<\/li>\n<\/ul>\n<p class=\"wp-block-paragraph\">CVE-2026-48800 follows a similar exploitation pattern but targets <code>shortcuts.xml<\/code> instead.<\/p>\n<h2 id=\"h-mitigation\" class=\"wp-block-heading\"><strong>Mitigation<\/strong><\/h2>\n<p class=\"wp-block-paragraph\">All three vulnerabilities are patched in Notepad++ v8.9.6.1, available now <a href=\"https:\/\/notepad-plus-plus.org\/news\/v8961-released\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">on the official releases page<\/a>.<\/p>\n<p class=\"wp-block-paragraph\">Security researchers additionally recommend that Notepad++ implement a whitelist of permitted command-line interpreters (such as <code>cmd.exe<\/code>, <code>powershell.exe<\/code>), validate executable paths against system directories, and introduce a user confirmation dialog before executing any shell command.<\/p>\n<p class=\"wp-block-paragraph\">Enterprise environments should prioritize patching, particularly where users operate shared or cloud-synced configuration directories.<\/p>\n<p class=\"has-text-align-center has-background wp-block-paragraph\" style=\"background:linear-gradient(180deg,rgb(238,238,238) 91%,rgb(169,184,195) 100%)\"><strong>Follow us on\u00a0<a href=\"https:\/\/news.google.com\/publications\/CAAqMggKIixDQklTR3dnTWFoY0tGV041WW1WeWMyVmpkWEpwZEhsdVpYZHpMbU52YlNnQVAB?hl=en-IN&amp;gl=IN&amp;ceid=IN:en\" target=\"_blank\" rel=\"noreferrer noopener\">Google News<\/a>,\u00a0<a href=\"https:\/\/www.linkedin.com\/company\/cybersecurity-news\/\" target=\"_blank\" rel=\"noreferrer noopener\">LinkedIn<\/a>,\u00a0and\u00a0<a href=\"https:\/\/x.com\/cyber_press_org\" target=\"_blank\" rel=\"noreferrer noopener\">X<\/a>\u00a0to Get More Instant Updates.<\/strong><\/p>\n<p>The post <a href=\"https:\/\/cybersecuritynews.com\/critical-notepad-vulnerabilities\/\">Critical Notepad++ Vulnerabilities Allow Attackers to Execute Arbitrary Code<\/a> appeared first on <a href=\"https:\/\/cybersecuritynews.com\/\">Cyber Security News<\/a>.<\/p>\n<\/div>\n<p> \t<BR><br \/>\n <BR><\/BR><br \/>\n    Guru Baran<br \/>\n \t<BR><br \/>\n<BR><\/BR><br \/>\n<a href=\"https:\/\/cybersecuritynews.com\/critical-notepad-vulnerabilities\/\">Go to cyber-security-news<\/a><br \/>\n \t<BR><br \/>\n <BR><\/BR><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Critical Notepad++ Vulnerabilities Allow Attackers to Execute Arbitrary Code Notepad++, one of the most widely used open-source text editors for Windows, has released an urgent security update addressing three vulnerabilities, including two arbitrary code execution flaws that could allow attackers to silently run malicious programs on a victim\u2019s machine. The Notepad++ development team released version [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[129,63,131,648],"tags":[130],"class_list":["post-13206","post","type-post","status-publish","format-standard","hentry","category-cyber-security","category-cyber-security-news","category-vulnerability","category-vulnerability-news","tag-cyber-security-news"],"_links":{"self":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/13206"}],"collection":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/comments?post=13206"}],"version-history":[{"count":0,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/13206\/revisions"}],"wp:attachment":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/media?parent=13206"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/categories?post=13206"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/tags?post=13206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}