{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-48778 exists.","fix":"No fix has been published for CVE-2026-48778 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-48778 is a high-severity command injection vulnerability in notepad-plus-plus, published on 26 Jun 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-48778 and fix it if it is affected.\n\nWhat it is: CVE-2026-48778 is a high-severity command injection vulnerability in notepad-plus-plus, published on 26 Jun 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-48778 exists.\n\nAffected product: notepad-plus-plus. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-48778/ (Markdown: https://insights.sbomify.com/CVE-2026-48778/index.md)","id":"CVE-2026-48778","markdown":"https://insights.sbomify.com/CVE-2026-48778/index.md","name":"CVE-2026-48778","record":{"aliases":["GHSA-7hm3-wp5q-ccv9"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Notepad++ editor","requires_auth":"none","summary":"Attackers can execute arbitrary code by manipulating the commandLineInterpreter setting in Notepad++ configuration files, requiring user interaction to trigger.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"notepad\\+\\+","vendor":"notepad-plus-plus"}],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"Notepad++ is a free and open-source source code editor. Prior to 8.9.6.1, the \u003cGUIConfig name=\"commandLineInterpreter\"\u003e tag in config.xml is read by NppXml::value() (Parameters.cpp:6430) and stored in _nppGUI._commandLineInterpreter without any validation, whitelist, or digital signature check. When the user triggers IDM_FILE_OPEN_CMD (File → Open Containing Folder → cmd), NppCommands.cpp:228 creates a Command object with this value and calls run(), which invokes ShellExecute (RunDlg.cpp:221) with the attacker-controlled string as the executable path. This vulnerability is fixed in 8.9.6.1.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2026-05-30","github_poc":2,"max_poc_stars":7,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-05-30T17:49:16Z","kind":"github_poc","ref":"https://github.com/XK3NF4/CVE-2026-48778","stars":7,"title":"Notepad++ RCE via config.xml commandLineInterpreter"},{"date":"2026-05-30","kind":"exploitdb","ref":"52606","stars":null,"title":"Notepad++ 8.9.6 - Arbitrary Code Execution"},{"date":"2026-05-30T12:13:02Z","kind":"github_poc","ref":"https://github.com/kavin-jindal/CVE-2026-48778-PoC","stars":0,"title":"CVE-2026-48778 — Notepad++ Arbitrary Code Execution PoC"}],"tier":"weaponised"},"has_fix":false,"headline":"Notepad++: Arbitrary Code Execution via config.xml commandLineInterpreter","id":"CVE-2026-48778","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":0,"n_references":2,"next":{"headline":"ws: Memory exhaustion DoS from tiny fragments and data chunks","id":"CVE-2026-48779"},"packages":[],"prev":{"headline":"FileBrowser Quantum: Path Traversal in public share PATCH allows file ops outside shared directory","id":"CVE-2026-48777"},"products":["notepad-plus-plus"],"published":"2026-06-26","related":[{"cvss_score":7.7,"headline":"Notepad++ Download of Code Without Integrity Check","id":"CVE-2025-15556","kev_date_added":"2026-02-12","published":"2026-02-03"},{"cvss_score":7.8,"headline":"Notepad++: Arbitrary Code Execution via shortcuts.xml UserCommand Injection","id":"CVE-2026-48800","kev_date_added":null,"published":"2026-06-26"},{"cvss_score":7.8,"headline":"Notepad++: CVE-2026-48800 Bypass","id":"CVE-2026-52884","kev_date_added":null,"published":"2026-06-26"},{"cvss_score":7.8,"headline":"Privilege escalation in n/a","id":"CVE-2023-47452","kev_date_added":null,"published":"2023-11-30"},{"cvss_score":7.8,"headline":"Notepad++ vulnerable to heap buffer write overflow in Utf8_16_Read::convert","id":"CVE-2023-40031","kev_date_added":null,"published":"2023-08-25"},{"cvss_score":7.8,"headline":"notepad-plus-plus - DLL Hijacking","id":"CVE-2022-32168","kev_date_added":null,"published":"2022-09-28"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-06-29","vendors":["notepad-plus-plus"]},"summary":"Attackers can execute arbitrary code by manipulating the commandLineInterpreter setting in Notepad++ configuration files, requiring user interaction to trigger.","url":"https://insights.sbomify.com/CVE-2026-48778/"}