Skip to main content

Ghidra EUVDEUVD-2026-36014

| CVE-2026-52755 HIGH
Path Traversal (CWE-22)
2026-06-10 VulnCheck
8.4
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft theme ZIP with ../ traversal entries
  2. Delivery
    Distribute via forum or chat
  3. Exploit
    Victim imports theme in Ghidra
  4. Execution
    Extractor writes .ssh/authorized_keys outside theme dir
  5. Persist
    Attacker SSHes in with planted key
  6. Impact
    Persistent 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – 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)
v2 Jun 10, 2026 - 14:31 cvss changed CVSS 8.4

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.

v1 Jun 10, 2026 - 14:09 CVSS 7.8

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

Ghidra 0 <12.0.4

Affected Packages

euvd ghidra fix: 12.0.4

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

Vendor (VulnCheck) PRIMARY 8.4 HIGH
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

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

4
Patch available
Jun 10, 2026 - 15:01 EUVD
Analysis Updated
Jun 10, 2026 - 14:32 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 10, 2026 - 14:31 vuln.today
v2 - CVSS changed
CVSS changed
Jun 10, 2026 - 14:22 NVD
7.8 (HIGH) 8.4 (HIGH)

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 97% exploitable
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

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-52752 HIGH
8.4 Jun 10

Arbitrary file write in NSA Ghidra versions prior to 12.0.2 allows local attackers to achieve code execution by tricking

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