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.
References
| Link | Resource |
|---|---|
| https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-vv7r-2rhf-5h7g | Vendor Advisory |
| https://www.vulncheck.com/advisories/ghidra-sql-injection-in-postgresql-password-change-via-unescaped-username | Third Party Advisory |
Configurations
History
11 Jun 2026, 19:50
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Nsa ghidra
Nsa |
|
| CPE | cpe:2.3:a:nsa:ghidra:*:*:*:*:*:*:*:* | |
| References | () https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-vv7r-2rhf-5h7g - Vendor Advisory | |
| References | () https://www.vulncheck.com/advisories/ghidra-sql-injection-in-postgresql-password-change-via-unescaped-username - Third Party Advisory |
10 Jun 2026, 14:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-06-10 14:16
Updated : 2026-06-11 19:50
NVD link : CVE-2026-49498
Mitre link : CVE-2026-49498
CVE.ORG link : CVE-2026-49498
JSON object : View
Products Affected
nsa
- ghidra
CWE
CWE-89
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
