CVE-2026-52752 Ghidra < 12.0.2 - Path Traversal in Extension Installer via ZIP Entry Names
Attackers can achieve code execution by installing malicious extensions with crafted ZIP entry names that bypass directory restrictions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-52752?
CVE-2026-52752 is a high-severity path traversal vulnerability in nationalsecurityagency ghidra, published on 10 Jun 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-22
Which versions are affected by CVE-2026-52752?
It affects 1 product.
Products include Nsa Ghidra.
How do I fix CVE-2026-52752?
No fix has been published for CVE-2026-52752 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-52752 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-52752 exists.
Other vulnerabilities in nationalsecurityagency ghidra
Sources
Also known as GHSA-jhc2-q7qf-9c25.