CVE-2026-52752: NSA Ghidra path traversal in extension installer

CVE-2026-52752 · Severity: high · CVSS 7.8 · Published 2026-06-10

Ghidra is a software reverse engineering suite used by security researchers to analyze code. A vulnerability in its extension installer allows a malicious extension to write files to sensitive locations on a user's computer. If a user is tricked into installing a specially crafted extension, an attacker could gain full control over the system by overwriting critical startup files or scripts.

Technologies: National Security Agency Ghidra. Vendors: National Security Agency.

Quick answers

Is CVE-2026-52752 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-52752 being exploited in the wild.
How severe is CVE-2026-52752?
High severity, with a CVSS score of 7.8, published 10 June 2026.
Which products and versions are affected?
National Security Agency Ghidra < 12.0.2.
Is there a fix for CVE-2026-52752?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-52752 attacked?
It is attacked with local access, in a network appliance.
Am I affected by CVE-2026-52752?
Check whether you run National Security Agency Ghidra at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A path traversal vulnerability (Zip Slip) exists in Ghidra's ExtensionUtils.java. The extension installer fails to validate ZIP entry names during extraction, allowing entries containing '../' sequences to resolve to locations outside the intended installation directory. An attacker can exploit this by providing a malicious extension ZIP that, when installed via the 'File -> Install Extensions' menu, writes arbitrary files to the filesystem. This can be leveraged for remote code execution by overwriting user configuration files like .bashrc or SSH keys. The issue is fixed in version 12.0.2 by implementing path validation using FileUtilities.isPathContainedWithin().

Affected products

  • NSA Ghidra < 12.0.2

Timeline

  • 2026-02-02: advisory: GitHub Security Advisory published
  • 2026-06-10: disclosed: NVD publication date

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.