Skip to main content

Ghidra EUVDEUVD-2026-52372

| CVE-2026-18718 HIGH
Uncontrolled Search Path Element (CWE-427)
2026-08-03 VulnCheck GHSA-mfcj-9frg-f2r4
7.1
CVSS 4.0 · Vendor: VulnCheck
Share

Severity by source

Vendor (VulnCheck) PRIMARY
7.1 HIGH
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
7.0 HIGH

Local file delivery (AV:L) with social engineering dependency (AC:H); no privileges needed to craft malicious project (PR:N); victim must actively open project file (UI:R); full code execution impact on the vulnerable system only (S:U, C:H/I:H/A:H).

3.1 AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:H/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector
Local
Attack Complexity
High
Privileges Required
None
User Interaction
A
Scope
X

Lifecycle Timeline

3
Source Code Evidence Fetched
Aug 03, 2026 - 17:31 vuln.today
Analysis Generated
Aug 03, 2026 - 17:31 vuln.today
CVE Published
Aug 03, 2026 - 16:54 cve.org
HIGH 7.1

DescriptionCVE.org

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.

AnalysisAI

Arbitrary code execution in the NSA's Ghidra reverse engineering framework allows an attacker who can deliver a malicious project file to execute arbitrary binaries as the victim's OS user when the victim opens the project. The SwiftDemanglerAnalyzer restores a user-supplied Swift binary directory path persisted in project state and passes it directly to SwiftNativeDemangler, which executes the resolved binary without any integrity or signature check - a textbook CWE-427 uncontrolled search path element. …

Unlock full vulnerability intelligence

  • Risk assessment & exploitation conditions
  • Attack chain visualization
  • Remediation with exact patch versions
  • Threat intelligence from 22 sources
  • Personal watchlist & email alerts

Free forever · No credit card required

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata

Access
Craft malicious GZF project with attacker-controlled Swift binary path
Delivery
Deliver project file to victim via social engineering
Exploit
Victim opens project in Ghidra and triggers analysis
Execution
SwiftDemanglerAnalyzer deserializes and restores persisted Swift directory path
Persist
SwiftNativeDemangler resolves and executes attacker binary without verification
Impact
Arbitrary code executes as Ghidra process user

Vulnerability AssessmentAI

Exploitation Exploitation requires two concrete conditions: (1) the victim must open a Ghidra project file (GZF or GAR archive) that was crafted or tampered with by the attacker - the malicious Swift binary directory path must be embedded in the project's persistent analyzer options state; and (2) the Demangler Swift Analyzer must be active during analysis of the opened project, which is the default behavior when a binary containing mangled Swift symbols is analyzed. … Additional conditions and limiting factors are described in the full assessment.
Risk Assessment The CVSS 4.0 vector (AV:L/AC:H/AT:N/PR:N/UI:A) accurately captures that this is a file-delivery social engineering attack, not a network-exploitable vulnerability - the malicious project must reach the victim's local filesystem and the victim must actively open it. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in.
Exploit Scenario An attacker crafts a Ghidra project archive (.gzf) with the OPTION_NAME_SWIFT_DIR project setting pointing to an attacker-controlled directory containing a malicious executable named swift-demangle (or the platform-appropriate Swift demangler binary name), then delivers this file to a target security analyst via a shared analysis repository, a spear-phishing email, or a Slack/Teams message posing as a colleague sharing a malware sample project. When the analyst opens the project in Ghidra and triggers analysis on a binary containing Swift symbols, SwiftDemanglerAnalyzer restores the persisted directory path and SwiftNativeDemangler silently executes the attacker's binary with no prompt or confirmation, achieving code execution as the analyst's OS user. …
Remediation Apply the upstream fix at commit c03a70d (https://github.com/NationalSecurityAgency/ghidra/commit/c03a70d), which removes the Swift binary directory configuration option entirely and enforces PATH-only resolution for the native Swift demangler binary. … Detailed patch versions, workarounds, and compensating controls in full report.

Recommended ActionAI

Within 24 hours: Inventory systems running Ghidra and audit recent project file sources. …

Sign in for detailed remediation steps and compensating controls.

Threat intelligence, references, and detailed analysis are available after sign-in.

More in Ghidra

View all
CVE-2023-22671 CRITICAL POC
9.8 Jan 06

Ghidra/RuntimeScripts/Linux/support/launch.sh in NSA Ghidra through 10.2.2 passes user-provided input into eval, leading

CVE-2019-16941 CRITICAL POC
9.8 Sep 28

NSA Ghidra through 9.0.4, when experimental mode is enabled, allows arbitrary code execution if the Read XML Files featu

CVE-2019-13625 CRITICAL POC
9.1 Jul 17

NSA Ghidra before 9.0.1 allows XXE when a project is opened or restored, or a tool is imported, as demonstrated by a pro

CVE-2019-17665 HIGH POC
7.8 Oct 16

NSA Ghidra before 9.0.2 is vulnerable to DLL hijacking because it loads jansi.dll from the current working directory. Ra

CVE-2019-13623 HIGH POC
7.8 Jul 17

In NSA Ghidra before 9.1, path traversal can occur in RestoreTask.java (from the package ghidra.app.plugin.core.archive)

CVE-2026-4946 HIGH
8.8 Mar 29

Command injection in NSA Ghidra (versions before 12.0.3) executes arbitrary commands when analysts click on maliciously

CVE-2026-52758 HIGH
8.7 Jun 10

SQL injection in Ghidra's BSim binary-similarity component (versions before 12.1) allows authenticated remote attackers

CVE-2026-52754 HIGH
8.7 Jun 10

Authentication bypass in NSA Ghidra versions prior to 12.1 allows any holder of a valid CA-signed certificate to imperso

CVE-2026-49498 HIGH
8.7 Jun 10

SQL injection in Ghidra's PostgreSQL collaboration backend (versions 11.0 through pre-12.1) allows authenticated users t

CVE-2026-52751 HIGH
8.6 Jun 10

Remote code execution in NSA Ghidra before version 12.1 allows attackers to execute arbitrary commands when a user opens

CVE-2026-52750 HIGH
8.4 Jun 10

Command injection in Ghidra versions before 12.1 on Windows allows attackers to execute arbitrary OS commands under the

CVE-2026-52755 HIGH
8.4 Jun 10

Arbitrary file write in NSA's Ghidra reverse-engineering framework before version 12.0.4 allows attackers to escape the

Share

EUVD-2026-52372 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy