CVE-2026-52752

Ghidra < 12.0.2 - Path Traversal in Extension Installer via ZIP Entry Names

Published Jun 10, 2026 CVSS 4.0 · 8.4 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

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'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Jul 14, 2026, 9:33 PM
Reserved
Jun 8, 2026, 3:20 PM
Status
Analyzed
Published
Jun 10, 2026, 2:16 PM
Modified
Oct 26, 2026, 11:10 AM