Description
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.
Published: 2026-06-10
Score: 8.4 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Ghidra versions earlier than 12.0.2 allow a path traversal flaw in the extension installer because ZIP entry names are not validated during extraction. An attacker can craft a malicious extension package that contains filenames with traversal sequences such as "../" and cause the installer to write files outside the intended directory. This arbitrary write capability can lead to the execution of malicious code in the environment where Ghidra is running.

Affected Systems

The National Security Agency’s Ghidra product is affected, specifically all releases prior to 12.0.2. No other vendors or products are currently listed as impacted.

Risk and Exploitability

The CVSS score is 8.4, which indicates a high severity vulnerability. EPSS data is not available, so the current likelihood of exploitation is unknown, and the issue is not listed in the CISA KEV catalog. The exploit requires delivery of a crafted ZIP file to a user who then installs or imports the malicious extension. The attack vector can be both local—if an attacker has access to the user’s machine—and remote—if the malicious extension is distributed through shared repositories, email, or other remote channels. Successful exploitation would allow an attacker to write arbitrary files and execute code within the scope of the user’s Ghidra installation.

Generated by OpenCVE AI on June 10, 2026 at 14:54 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to Ghidra 12.0.2 or later, which includes validation of ZIP entry names to prevent path traversal.
  • Restrict extension installation to trusted sources and disable or monitor installation from external or unsigned ZIP files.
  • Use signed extensions and maintain an internal registry of approved extensions to ensure only verified code runs within Ghidra.

Generated by OpenCVE AI on June 10, 2026 at 14:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 10 Jun 2026 13:30:00 +0000

Type Values Removed Values Added
Description 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.
Title Ghidra < 12.0.2 - Path Traversal in Extension Installer via ZIP Entry Names
First Time appeared Nsa
Nsa ghidra
Weaknesses CWE-22
CPEs cpe:2.3:a:nsa:ghidra:*:*:*:*:*:*:*:*
Vendors & Products Nsa
Nsa ghidra
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.4, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-06-10T12:39:59.874Z

Reserved: 2026-06-08T15:20:09.274Z

Link: CVE-2026-52752

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-06-10T14:16:35.337

Modified: 2026-06-10T14:16:35.337

Link: CVE-2026-52752

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-10T15:00:13Z

Weaknesses