Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft theme ZIP with ../ traversal entries
-
DeliveryDistribute via forum or chat
-
ExploitVictim imports theme in Ghidra
-
ExecutionExtractor writes .ssh/authorized_keys outside theme dir
-
PersistAttacker SSHes in with planted key
-
ImpactPersistent access on analyst workstation
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 the victim to manually import an attacker-supplied theme ZIP archive through Ghidra's theme import functionality (UI:A - user interaction is mandatory per CVSS vector). The attack vector is local (AV:L), so the attacker cannot reach the import code over the network; delivery depends on social engineering (forum post, chat, email attachment) to convince a Ghidra user to load the malicious theme file. No authentication to Ghidra is needed (PR:N) because the import is initiated by the local user themselves, and no special Ghidra configuration is required - the theme import feature is present in default installations of all versions before 12.0.4. The impact ceiling is bounded by the file-system privileges of the OS user running Ghidra: a non-privileged user account cannot have system files overwritten, but personal dotfiles enabling code execution (.bashrc, .ssh/authorized_keys) are reachable. |
| Impact | CVSS 4.0 base score 8.4 reflects high confidentiality, integrity, and availability impact on the vulnerable component (VC:H/VI:H/VA:H) but is gated by local attack vector (AV:L) and required user interaction (UI:A) - the victim must actively import the malicious theme. Exploitation is therefore not wormable and not network-reachable, which significantly lowers real-world urgency compared to remote unauthenticated RCEs of similar score. There is no CISA KEV listing, no EPSS score in the provided intelligence, and no public exploit identified at time of analysis. However, Zip Slip is a well-understood bug class with trivial exploitation patterns, and the target population - reverse engineers and malware analysts - routinely handles untrusted files, making social-engineering delivery (e.g., a 'cool dark theme' shared on a forum) plausible. Net priority: medium-to-high for security research teams, lower for general enterprise. |
| Exploit ScenarioDerived | An attacker publishes a visually appealing Ghidra theme ZIP on a reverse-engineering forum, Discord server, or GitHub repo. The archive contains an entry named '../../../../home/victim/.ssh/authorized_keys' holding the attacker's public key; when a researcher uses File → Import Theme, the traversal writes the key and grants persistent SSH access to the analyst's workstation. No public POC is referenced in the available data, but the Zip Slip pattern is trivially replicable from the advisory description. |
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's Ghidra reverse-engineering framework before version 12.0.4 allows attackers to escape the theme directory via Zip Slip path traversal sequences in malicious theme ZIP archives, leading to code execution or credential compromise. The flaw requires user interaction (importing the booby-trapped theme) and is exploited locally against the user running Ghidra. No public exploit identified at time of analysis, though the technique (Zip Slip) is well-documented and trivially reproducible.
Earlier versions of this analysis (2)
Arbitrary file write in NSA Ghidra before 12.0.4 enables local attackers to escape the theme import directory using Zip Slip traversal sequences, leading to code execution when written files target startup hooks like .bashrc or SSH key files like authorized_keys. The flaw requires a user to import a malicious theme ZIP (UI:A in CVSS), so exploitation hinges on social engineering an analyst, and no public exploit has been identified at time of analysis.
Arbitrary file write in NSA's Ghidra reverse engineering framework before version 12.0.4 allows attackers to escape the intended theme directory via crafted ZIP archives containing path traversal sequences (Zip Slip). Successful exploitation can lead to local code execution by overwriting files such as .bashrc or .ssh/authorized_keys when a user imports a malicious theme. No public exploit identified at time of analysis, though the technique (Zip Slip, CWE-22) is well-understood and trivially weaponizable.
RemediationAI
Upgrade to Vendor-released patch: Ghidra 12.0.4 or later, available from the NSA Ghidra GitHub releases page and referenced in advisory GHSA-3r55-xjr4-jh8f (https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-3r55-xjr4-jh8f). Until upgrading, the most effective compensating control is to refuse to import theme ZIPs from untrusted sources - only load themes shipped with Ghidra or built locally; this has no functional side effect beyond losing access to third-party themes. As an additional hardening step, run Ghidra under a dedicated low-privilege user account whose home directory contains no SSH keys, shell rc files, or other code-execution sinks, so a successful traversal write lands on a non-actionable file; the trade-off is the operational overhead of managing a second user profile. Reviewing recently imported themes and auditing ~/.bashrc, ~/.profile, and ~/.ssh/authorized_keys for unexpected modifications is also recommended on hosts that may have already imported untrusted archives.
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 open-source software reverse engineering (SRE) suite developed and maintained by the U.S. National Security Agency (per CPE cpe:2.3:a:nationalsecurityagency:ghidra). The vulnerability sits in the theme import routine, which extracts user-supplied ZIP archives without sanitizing entry filenames - a classic CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) instance commonly called 'Zip Slip.' When archive entries contain '../' sequences, the extractor resolves paths outside the intended theme directory, allowing the attacker to drop or overwrite arbitrary files anywhere the Ghidra process has write permission, including dotfiles like ~/.bashrc or ~/.ssh/authorized_keys that grant code execution or persistent access on next shell login or SSH connection.
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.4 contains a path traversal vulnerability in the theme import functionality that allows attackers to write files outside the intended theme directory. Attackers can craft malicious theme ZIP files with traversal sequences in filenames to execute arbitrary code or modify sensitive files like .bashrc or .ssh/authorized_keys.
Executive ViewAI
NSA's Ghidra reverse-engineering framework contains an arbitrary file write vulnerability (CVE-2026-52755, CVSS 8.4) enabling code execution and credential compromise when users import malicious theme files. Security teams and researchers face direct risk of credential theft, intellectual property exposure, and workstation takeover; no public exploit identified at time of analysis, but the underlying Zip Slip technique is well-documented and trivially reproducible.
No vendor-released patch identified at time of analysis. Interim mitigations: disable theme import functionality in application preferences; restrict Ghidra execution to authenticated users on segmented networks; require manual ZIP file inspection and validation before any import; isolate high-value Ghidra instances to air-gapped workstations or containers; enable process execution logging to detect suspicious file write activity. These controls significantly reduce exploitation risk but do not eliminate it-vendor patch application required for full remediation.
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 Ghidra versions prior to 12.0.2 allows local attackers to achieve code execution by tricking
EUVD-2026-36014
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB