Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconIdentify Ghidra user target
-
DeliveryDeliver malicious project file or ghidra:// URL
-
ExploitVictim opens via File
-
InstallOpen Project
-
C2RMI client deserializes payload
-
ExecuteJython gadget chain executes commands
-
ImpactCode execution as analyst user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The victim must open a malicious project file or follow a ghidra:// URL via File → Open Project in a Ghidra version before 12.1 - this triggers the client-side Shared-Project RMI deserialization path; the Jython 2.7.4 interpreter that supplies the gadget chain is bundled with Ghidra so no additional configuration is required. Limiting factors per the CVSS 4.0 vector are UI:A (active user interaction required - the analyst must explicitly choose Open Project on the attacker-supplied artifact) and the niche target population of Ghidra users; offsetting factors are PR:N (no authentication), AC:L (low complexity), AT:N (no special attack requirements), and the fact that Shared-Project / RMI code is reachable in default installations without the user needing to actually be using collaborative projects. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H) yields 8.6 and reflects a network-reachable, low-complexity, unauthenticated bug whose only friction is active user interaction - a Ghidra analyst must open the malicious project file. That UI:A gate makes mass exploitation unlikely but is well-matched to Ghidra's user base: reverse engineers and malware analysts routinely open untrusted artifacts and would be high-value targets for nation-state actors who want footholds on researcher workstations. The vulnerability is not in CISA KEV and no EPSS score was provided in the input, so widespread opportunistic exploitation cannot be confirmed; however, the bug was reported by VulnCheck (a credible vulnerability-intelligence vendor) and an upstream commit is public, which raises the likelihood of weaponization by capable adversaries. No public exploit identified at time of analysis, but the deterministic Jython gadget chain referenced in the description means competent attackers can likely reproduce it from the patch diff. |
| Exploit ScenarioDerived | An attacker targeting a malware analyst sends a phishing email with a Ghidra project file purporting to contain a sample worth investigating, or hosts a ghidra:// link on a researcher-themed site. When the analyst chooses File → Open Project and selects the crafted file, the client-side RMI code deserializes attacker-controlled objects through a Jython 2.7.4 gadget chain and executes arbitrary commands as the analyst's user, granting a foothold on a workstation that typically holds sensitive samples, internal tooling, and source code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Jun 10, 2026
Remote code execution in NSA Ghidra before version 12.1 allows attackers to execute arbitrary commands when a user opens a malicious shared-project file containing a ghidra:// URL, triggering unsafe Java deserialization in the client-side Shared-Project RMI connection code. Exploitation leverages a Jython 2.7.4 gadget chain and requires only user interaction (opening the crafted project), with no authentication needed. No public exploit identified at time of analysis, though VulnCheck has published an advisory describing the flaw.
Earlier versions of this analysis (2)
Remote code execution in NSA Ghidra before version 12.1 allows unauthenticated attackers to execute arbitrary commands when a victim opens a malicious shared-project file containing a ghidra:// URL. The flaw stems from unsafe Java deserialization in the client-side Shared-Project RMI connection code, which can be abused via a Jython 2.7.4 gadget chain. No public exploit has been identified at time of analysis, but VulnCheck has published an advisory describing the technique.
Remote code execution in NSA's Ghidra reverse-engineering suite before version 12.1 allows attackers to achieve arbitrary command execution on an analyst's workstation when they open a malicious shared-project file containing a ghidra:// RMI URL. The flaw stems from unsafe Java deserialization in the client-side Shared-Project RMI connection code, exploitable via a Jython 2.7.4 gadget chain. No public exploit identified at time of analysis, but a vendor patch and detailed VulnCheck advisory exist, raising the likelihood of weaponized PoCs emerging.
RemediationAI
Vendor-released patch: upgrade to Ghidra 12.1 or later, which is available from the NationalSecurityAgency/ghidra GitHub releases and is referenced by the GitHub Security Advisory at https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-fgg5-g275-7742 and fixing commit 91a269103fe5d133c14ec3afa60280dccb94be5c. Until patched, treat any project file, archive, or ghidra:// URL from untrusted sources as malicious - do not open shared projects received via email, chat, or download from unverified locations, and avoid clicking ghidra:// links in browsers or documents. Additional compensating controls include running Ghidra in a sandboxed VM or container dedicated to analysis (trade-off: workflow friction and potential loss of host integration), blocking outbound RMI traffic (default TCP 1099 and ephemeral ports) at the host firewall if Shared-Project collaboration is not required (trade-off: breaks legitimate collaboration), and reviewing the VulnCheck advisory at https://www.vulncheck.com/advisories/ghidra-remote-code-execution-via-unfiltered-rmi-deserialization-in-shared-project-connection for indicators.
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 framework, widely used by malware analysts, vulnerability researchers, and security teams. The vulnerability is rooted in CWE-502 (Deserialization of Untrusted Data) within the Shared-Project feature, which uses Java RMI (Remote Method Invocation) to coordinate multi-user reverse-engineering projects via ghidra:// URLs. Because the RMI client deserialized incoming objects without filtering allowed classes, an attacker can supply a serialized payload that abuses gadgets present in the bundled Jython 2.7.4 interpreter to achieve arbitrary code execution in the analyst's JVM context. The CPE (cpe:2.3:a:nationalsecurityagency:ghidra) confirms all Ghidra distributions prior to 12.1 are affected.
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:N/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
3DescriptionCVE.org
Ghidra before 12.1 contains an unsafe deserialization vulnerability in client-side Shared-Project RMI connection code that allows unauthenticated remote code execution. Attackers can craft a malicious project file with a ghidra:// URL that, when opened via File → Open Project, deserializes untrusted objects using a Jython 2.7.4 gadget chain to execute arbitrary commands.
Executive ViewAI
NSA Ghidra versions before 12.1 contain a remote code execution vulnerability triggered when users open maliciously crafted shared-project files containing ghidra:// URLs. Any organization using Ghidra for reverse engineering or software security analysis faces potential system compromise and unauthorized code execution, with no authentication required to exploit.
Apply vendor patch.
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
Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object 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
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
Arbitrary file write in NSA Ghidra versions prior to 12.0.2 allows local attackers to achieve code execution by tricking
EUVD-2026-36009
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB