Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious extension ZIP with ../ entries
-
DeliveryDistribute via fake plugin repo or forum
-
ExploitVictim installs extension in Ghidra
-
ExecutionInstaller extracts without path validation
-
PersistFiles written to startup or script paths
-
ImpactCode executes as Ghidra user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the victim manually install an attacker-supplied Ghidra extension ZIP via the extension installer (File > Install Extensions or equivalent), per CVSS UI:A (user interaction required) and AV:L (local vector). No authentication or prior privileges on the target system are required (PR:N), but the attacker must deliver the malicious archive and convince the user to install it - limiting realistic exploitation to social engineering, supply-chain attacks on extension repositories, or trojanized clones of legitimate plugins. The vulnerability is in the extension installer specifically, so users who never install third-party extensions are not exposed; impact scope is bounded by the filesystem privileges of the user running Ghidra. |
| Impact | CVSS 4.0 vector AV:L/AC:L/AT:N/PR:N/UI:A scores 8.4 (High), reflecting local attack vector with required user interaction but no privileges and high impact on confidentiality, integrity, and availability of the vulnerable component. This is not a network-exploitable bug - a user must be socially engineered into downloading and installing a hostile extension, which meaningfully limits mass exploitation. There is no KEV listing and no EPSS score provided, and no public exploit was identified at time of analysis, so this is not a drop-everything emergency. However, Ghidra's user base (reverse engineers, threat hunters, government analysts) is a high-value target population, and third-party Ghidra extensions are routinely shared via GitHub and forums where supply-chain trust is weak - a malicious clone of a popular extension would be a credible delivery vector. |
| Exploit ScenarioDerived | An attacker publishes a trojanized Ghidra extension - for example, a fake update to a popular analysis plugin posted on GitHub or a forum - whose ZIP contains entries like '../../../../home/analyst/.bashrc' or '../../Ghidra/Features/Base/ghidra_scripts/auto_run.py'. When the targeted reverse engineer uses File > Install Extensions to load the archive, the installer writes attacker-controlled files outside the extension directory, achieving code execution the next time the user opens a shell, restarts Ghidra, or runs the trojaned script. No public PoC was identified at time of analysis, but Zip Slip exploitation is well-documented and trivially reproducible. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Jun 10, 2026
Arbitrary file write in NSA Ghidra versions prior to 12.0.2 allows local attackers to achieve code execution by tricking a user into installing a malicious extension archive. The extension installer fails to sanitize ZIP entry names, enabling classic Zip Slip path traversal that writes files outside the intended extension directory. No public exploit identified at time of analysis, though the technique is well-documented and trivially reproducible.
Earlier versions of this analysis (2)
Arbitrary file write leading to code execution affects NSA Ghidra reverse engineering platform versions prior to 12.0.2, where the extension installer fails to sanitize ZIP entry names during extraction. An attacker who convinces an analyst to install a crafted extension archive can write files outside the intended extension directory via ../ traversal sequences, enabling code execution in the analyst's context. No public exploit identified at time of analysis, but a vendor security advisory (GHSA-jhc2-q7qf-9c25) and a VulnCheck writeup confirm the issue.
Arbitrary file write leading to code execution affects NSA's Ghidra reverse engineering platform prior to version 12.0.2, where the extension installer fails to sanitize ZIP entry names during extraction. An attacker who convinces a Ghidra user to install a malicious extension archive can use ../ traversal sequences to drop files outside the extensions directory, achieving code execution in the user's context. No public exploit identified at time of analysis, and the issue is not listed in CISA KEV.
RemediationAI
Upgrade Ghidra to version 12.0.2 or later, which contains the upstream fix per advisory GHSA-jhc2-q7qf-9c25 (https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-jhc2-q7qf-9c25); see also the VulnCheck advisory at https://www.vulncheck.com/advisories/ghidra-path-traversal-in-extension-installer-via-zip-entry-names. Until upgrade is possible, only install Ghidra extensions from trusted sources whose ZIP contents have been manually inspected for traversal sequences (unzip -l should show no entries containing '../'), and consider running Ghidra under an unprivileged user account or within a sandbox/container to limit the blast radius of any successful write. Disabling or avoiding the extension installer GUI workflow entirely and managing extensions by manually copying vetted directories sidesteps the vulnerable code path at the cost of installer convenience.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Ghidra is the National Security Agency's open-source software reverse engineering (SRE) framework, widely used by malware analysts, security researchers, and CTF participants. Extensions are distributed as ZIP archives and unpacked by the installer at user request. The flaw is a textbook CWE-22 (Path Traversal) - also known as 'Zip Slip' when applied to archive extraction - where the installer iterates over ZIP entries and writes them to disk without canonicalizing or validating that resolved paths remain within the extraction directory. Filenames containing '../' sequences traverse upward and land in attacker-chosen locations such as Ghidra's scripts directory, user profile startup folders, or arbitrary locations writable by the running user.
Know when Ghidra gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Primary rating from Vendor (VulnCheck) · only source for this CVE.
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
4DescriptionCVE.org
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.
Executive ViewAI
NSA Ghidra versions prior to 12.0.2 contain an arbitrary file write vulnerability (CVE-2026-52752, CVSS 8.4) exploitable through malicious extension archives, allowing local attackers to execute code. Organizations using Ghidra for reverse engineering, security research, or vulnerability analysis face developer system compromise risk if users install untrusted extensions, with no currently available vendor patch.
Restrict or disable Ghidra extension installation through endpoint controls; establish and enforce approved extension list; educate development teams on validating extension sources and vendor authenticity; monitor file system changes from Ghidra processes; run Ghidra on limited-privilege user accounts; maintain offline backups of critical analysis work.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Ghidra/RuntimeScripts/Linux/support/launch.sh in NSA Ghidra through 10.2.2 passes user-provided input into eval, leading
NSA Ghidra through 9.0.4, when experimental mode is enabled, allows arbitrary code execution if the Read XML Files featu
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
NSA Ghidra before 9.0.2 is vulnerable to DLL hijacking because it loads jansi.dll from the current working directory. Ra
In NSA Ghidra before 9.1, path traversal can occur in RestoreTask.java (from the package ghidra.app.plugin.core.archive)
Command injection in NSA Ghidra (versions before 12.0.3) executes arbitrary commands when analysts click on maliciously
SQL injection in Ghidra's BSim binary-similarity component (versions before 12.1) allows authenticated remote attackers
Authentication bypass in NSA Ghidra versions prior to 12.1 allows any holder of a valid CA-signed certificate to imperso
SQL injection in Ghidra's PostgreSQL collaboration backend (versions 11.0 through pre-12.1) allows authenticated users t
Remote code execution in NSA Ghidra before version 12.1 allows attackers to execute arbitrary commands when a user opens
Command injection in Ghidra versions before 12.1 on Windows allows attackers to execute arbitrary OS commands under the
Arbitrary file write in NSA's Ghidra reverse-engineering framework before version 12.0.4 allows attackers to escape the
EUVD-2026-36011
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB