{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-18718 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-18718 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-18718 is a high-severity code injection vulnerability in National Security Agency Ghidra, published on 3 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-18718 and fix it if it is affected.\n\nWhat it is: CVE-2026-18718 is a high-severity code injection vulnerability in National Security Agency Ghidra, published on 3 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: There is no known exploitation of CVE-2026-18718 in the wild and no public exploit code.\n\nAffected product: National Security Agency Ghidra. 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-18718/ (Markdown: https://insights.sbomify.com/CVE-2026-18718/index.md)","id":"CVE-2026-18718","markdown":"https://insights.sbomify.com/CVE-2026-18718/index.md","name":"CVE-2026-18718","record":{"aliases":["GHSA-mfcj-9frg-f2r4","GHSA-pcfh-853f-q3gh"],"analysis":{"component_type":"desktop_application","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Reverse engineering tool","requires_auth":"none","summary":"Attackers can execute arbitrary code by tricking users into opening a malicious Ghidra project with a crafted Swift tool path.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":7.1,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:L/AC:H/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-427","name":"Uncontrolled Search Path Element"}],"description":"Ghidra contains an arbitrary code execution vulnerability in the Swift demangler analyzer that allows an attacker to execute arbitrary binaries by supplying a malicious Ghidra project with a crafted Swift tool directory path. When a victim opens the attacker-supplied project, SwiftDemanglerAnalyzer restores the persisted Swift binary directory from project state and SwiftNativeDemangler executes the resolved binary without integrity or signature verification, causing attacker-controlled executables to run under the Ghidra process user with no prompt or confirmation.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-08-03","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-08-03T22:57:28Z","kind":"github_poc","ref":"https://github.com/sn0x-sharma/CVE-2026-18718","stars":0,"title":"Found a 0-Day in Ghidra: Shared Project File Became a Code Execution Vector"}],"tier":"poc_unverified"},"has_fix":false,"headline":"Ghidra Swift Demangler Analyzer Arbitrary Code Execution via Project State","id":"CVE-2026-18718","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":0,"n_references":6,"next":{"headline":"cemtan sar2html Search sar2html.py sql injection","id":"CVE-2026-18719"},"packages":[],"prev":{"headline":"Improper Certificate Validation in ASE 2000","id":"CVE-2026-18717"},"products":["Ghidra"],"published":"2026-08-03","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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-09-24","vendors":["National Security Agency"]},"summary":"Attackers can execute arbitrary code by tricking users into opening a malicious Ghidra project with a crafted Swift tool path.","url":"https://insights.sbomify.com/CVE-2026-18718/"}