{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-6401 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-6401 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-6401 is a medium-severity path traversal vulnerability in NotePad++, published on 30 Nov 2023. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-6401 and fix it if it is affected.\n\nWhat it is: CVE-2023-6401 is a medium-severity path traversal vulnerability in NotePad++, published on 30 Nov 2023. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-6401 in the wild and no public exploit code.\n\nAffected product: NotePad++. 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-2023-6401/ (Markdown: https://insights.sbomify.com/CVE-2023-6401/index.md)","id":"CVE-2023-6401","markdown":"https://insights.sbomify.com/CVE-2023-6401/index.md","name":"CVE-2023-6401","record":{"aliases":["GHSA-w9qm-5wjh-3m5x"],"analysis":{"component_type":"desktop_application","fix_type":"no_fix_stated","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"NotePad++ text editor","requires_auth":"low_privilege","summary":"Local attackers can exploit an uncontrolled search path in dbghelp.exe to execute arbitrary code via DLL hijacking.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"notepad\\+\\+","vendor":"notepad-plus-plus"}],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-427","name":"Uncontrolled Search Path Element"}],"description":"A vulnerability classified as problematic was found in NotePad++ up to 8.1. Affected by this vulnerability is an unknown functionality of the file dbghelp.exe. The manipulation leads to uncontrolled search path. An attack has to be approached locally. The identifier VDB-246421 was assigned to this vulnerability. NOTE: The vendor was contacted early about this disclosure but did not respond in any way.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2025-06-18","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-06-18T19:59:31Z","kind":"github_poc","ref":"https://github.com/mekitoci/CVE-2023-6401","stars":0,"title":"CVE-2023-6401 is a DLL hijacking vulnerability that allows attackers to execute arbitrary code by placing a malicious `dbghelp.dll` file in the application directory. This project demonstrates the vulnerability and provides a reproducible PoC."}],"tier":"poc_unverified"},"has_fix":false,"headline":"NotePad++ dbghelp.exe uncontrolled search path","id":"CVE-2023-6401","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2023"},"n_packages":0,"n_references":2,"next":{"headline":"PHPGurukul Nipah Virus Testing Management System add-phlebotomist.php sql injection","id":"CVE-2023-6402"},"packages":[],"prev":{"headline":"Incorrect user authorization vulnerability on OpenText ZENworks Configuration Management (ZCM) product.","id":"CVE-2023-6400"},"products":["NotePad++"],"published":"2023-11-30","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 config.xml commandLineInterpreter","id":"CVE-2026-48778","kev_date_added":null,"published":"2026-06-26"},{"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":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-02","vendors":["n/a"]},"summary":"Local attackers can exploit an uncontrolled search path in dbghelp.exe to execute arbitrary code via DLL hijacking.","url":"https://insights.sbomify.com/CVE-2023-6401/"}