CVE-2026-49498

High

Description

Ghidra 11.0 before 12.1 contains a SQL injection vulnerability in the changePassword() method of PostgresFunctionDatabase that fails to escape double quotes in usernames interpolated into ALTER ROLE statements. Authenticated attackers can inject SQL commands via crafted username parameters in PasswordChange network messages to escalate to PostgreSQL superuser privileges and gain full database control.

SeverityHigh
CVSS8.8
Exploit probability—
ProductNsa Ghidra
PublishedJun 10, 2026
First seenJun 10, 2026
Weakness typeCWE-89SQL injection

How to fix

Affected products

ProductAffected versionsFixed in
nsa ghidra11.0 ≤ v < 12.112.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-49498 · Nsa Ghidra · Dark Radar