CVE-2026-52752: Ghidra < 12.0.2 - Path Traversal in Extension Installer via ZIP Entry Names
Ghidra before 12.0.2 contains a path traversal vulnerability in the extension installer that fails to validate ZIP entry names during extraction. Attackers can craft malicious extensions with traversal sequences like ../ in filenames to write arbitrary files outside the intended directory, enabling code execution.
Metrics
- CVSS v4.0
- 8.4
- Severity
- HIGH
- Fixed in
- 12.0.2
- Affected Products
- 1
HarborGuard Analysis
Synopsis
A path traversal vulnerability in Ghidra's extension installer allows an attacker to write arbitrary files outside the intended extraction directory by embedding traversal sequences (such as "../") in ZIP entry filenames. The attack requires local access and victim interaction, as a user must manually install a crafted extension; no authentication or network exposure is needed. Successful exploitation results in arbitrary file writes that enable code execution on the host. A patched-image rebuild at version 12.0.2 is available on HarborGuard for environments running an affected version.
HarborGuard Coverage
Detection capability is available across every HarborGuard environment; the CVE is ingested from upstream advisory feeds within minutes of publication and matched against customer images, including custom-built images that bundle Ghidra. Any image carrying a Ghidra version below 12.0.2 is flagged automatically.
AvailableHarborGuard is capable of scoring this CVE at CVSS 8.4 (HIGH) and weighting that score against each environment's compliance policy to determine priority. Triage findings are routable to the appropriate team inbox within each customer organization based on policy configuration.
AvailableA patched-image rebuild at Ghidra 12.0.2 becomes available through HarborGuard once the fix version is confirmed in upstream package metadata. For customers who opt into auto-remediation, HarborGuard can perform the rebuild, run a regression test suite, and open a PR against affected workloads automatically.
AvailableExploit Conditions
- Network reachabilityNot required
The attacker needs an existing shell or process on the host; no over-the-network access to the vulnerable component is required.
- AuthenticationNot required
No account or credentials are needed to supply the malicious extension; the attack rides on the privileges of the user performing the installation.
- Victim interactionRequired
A local user must actively install the crafted Ghidra extension, making social engineering or supply-chain substitution the delivery mechanism.
- Attack complexityDetail
Exploit conditions are reliable and free of environmental dependencies; crafting a malicious ZIP with traversal-sequenced entry names requires no race conditions or special memory layout.
Blast Radius
- Attacker writes arbitrary files to any path the running user can reach on disk, including executable locations and configuration directories.
- Arbitrary file writes enable code execution under the identity of the user who installed the extension.
- Integrity of the local Ghidra installation and any co-located tooling or scripts is compromised by overwritten or injected files.
How HarborGuard Handles This
Available on HarborGuard: detection capability for CVE-2026-52752 is active across all connected registries and CI pipelines, with images carrying Ghidra below 12.0.2 flagged within minutes of scan. Where compliance policy permits auto-remediation, HarborGuard can rebuild affected images at Ghidra 12.0.2, execute a regression run, and open a patch PR against impacted workloads; for HIGH-severity issues the median time from CVE publication to a merged patch PR is around 90 minutes in environments with auto-remediation enabled. For teams that cannot immediately rebuild, compensating controls such as enforcing allowlists for permitted Ghidra extension sources, restricting write permissions in Ghidra's installation directory, and isolating developer workstations via network policy can reduce exposure while a rebuild is staged.
Fix available
- nationalsecurityagency / ghidra< 12.0.2 (from 0)Fixed in 12.0.2
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N