{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-71858 exists.","fix":"No fix has been published for CVE-2026-71858 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-71858 is a medium-severity vulnerability in notepad-plus-plus, published on 17 Aug 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-71858 and fix it if it is affected.\n\nWhat it is: CVE-2026-71858 is a medium-severity vulnerability in notepad-plus-plus, published on 17 Aug 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-71858 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-71858/ (Markdown: https://insights.sbomify.com/CVE-2026-71858/index.md)","id":"CVE-2026-71858","markdown":"https://insights.sbomify.com/CVE-2026-71858/index.md","name":"CVE-2026-71858","record":{"aliases":["GHSA-f4rj-vqq4-wvg4"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Notepad++ editor","requires_auth":"low_privilege","summary":"Attackers can bypass HMAC validation in shortcuts.xml to execute elevated commands and modify protected files in Notepad++.","user_interaction":"required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.4,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"},{"id":"CWE-693","name":"Protection Mechanism Failure"},{"id":"CWE-345","name":"Insufficient Verification of Data Authenticity"}],"description":"Notepad++ is a free and open-source source code editor. Prior to 8.9.7, macros loaded from an attacker-controlled shortcuts.xml bypass the HMAC validation applied to UserDefinedCommands and can invoke Scintilla actions and the internal Open in Default Viewer command in an elevated Notepad++ process, allowing protected file modification and conditional elevated command execution when a local attacker influences settingsDir and a user triggers the macro. This issue is fixed in version 8.9.7.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Notepad++: shortcuts.xml Macro HMAC Bypass Enables Conditional Elevated Command Execution","id":"CVE-2026-71858","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"security_feature_bypass","year":"2026"},"n_packages":0,"n_references":3,"next":{"headline":"Checkmate: Sensitive Bearer Token Exposure via Public Status Pages When showURL Setting is Enabled","id":"CVE-2026-71862"},"packages":[],"prev":{"headline":"Suricata flow: IPv4/IPv6 hash collision can reuse wrong flow state","id":"CVE-2026-71855"},"products":["notepad-plus-plus"],"published":"2026-08-17","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-08-17","vendors":["notepad-plus-plus"]},"summary":"Attackers can bypass HMAC validation in shortcuts.xml to execute elevated commands and modify protected files in Notepad++.","url":"https://insights.sbomify.com/CVE-2026-71858/"}