CVE-2026-18718: National Security Agency Ghidra · Uncontrolled Search Path Element
Affects National Security Agency GhidraSource CVE Database V5
Not known to be exploited · CVSS 7.1 High : upgrade to 12.1.2 soon.
Data as of 1 Nov 2026, 22:58 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 6% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 12.1.2
CVSS:4.0/AV:L/AC:H/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 3 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
Public exploit code: GitHub proofs of concept
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 1 Nov 2026.
What to do
Upgrade National Security Agency Ghidra to 12.1.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| National Security AgencyGhidra | Affected
| Fixed in
|
AI-suggested
If you cannot patch yet, users should avoid opening untrusted or suspicious Ghidra projects, especially those containing Swift tool directory paths.
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.
References
- github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-pcfh-853f-q3gh (opens in a new tab)
- github.com/NationalSecurityAgency/ghidra/commit/c03a70d (opens in a new tab)
- github.com/NationalSecurityAgency/ghidra (opens in a new tab)
- app.notion.com/p/Conditional-Arbitrary-Code-Execution-via-Swift-Demangler-Analyzer-ACE-GHIDRA-3a650723849f80679876df165fe4368b (opens in a new tab)
- vulncheck.com/advisories/ghidra-swift-demangler-analyzer-arbitrary-code-execution-via-project-state (opens in a new tab)
- github.com/sn0x-sharma/CVE-2026-18718 (opens in a new tab)
- sn0xs-organization.gitbook.io/sn0x-order.org/bb-web-hunt/critical/how-i-found-a-0-day-in-ghidra-shared-project-file-became-a-code-execution-vector (opens in a new tab)