CVE-2026-49498 Ghidra 11.0 < 12.1 - SQL Injection in PostgreSQL Password Change via Unescaped Username
HighCVSS 8.7
EPSS 0.26%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| nationalsecurityagency/ghidra | >= 11.0, < 12.1 | 12.1 | Fixed |
| nsa Ghidra | >= 11.0, < 12.1 | 12.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nationalsecurityagency/ghidra | >= 11.0, < 12.1 | 12.1 |
| nsa Ghidra | >= 11.0, < 12.1 | 12.1 |
References
- GitHub Security Advisory (GHSA-vv7r-2rhf-5h7g) vendor-advisory
- www.vulncheck.com third-party-advisory