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.
Metrics
Affected Vendors & Products
References
History
Wed, 10 Jun 2026 14:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
Wed, 10 Jun 2026 13:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Ghidra 11.0 < 12.1 - SQL Injection in PostgreSQL Password Change via Unescaped Username | |
| First Time appeared |
Nsa
Nsa ghidra |
|
| Weaknesses | CWE-89 | |
| CPEs | cpe:2.3:a:nsa:ghidra:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Nsa
Nsa ghidra |
|
| References |
| |
| Metrics |
cvssV3_1
|
Status: PUBLISHED
Assigner: VulnCheck
Published:
Updated: 2026-06-10T13:52:10.788Z
Reserved: 2026-05-31T11:54:34.994Z
Link: CVE-2026-49498
Updated: 2026-06-10T13:52:07.205Z
Status : Received
Published: 2026-06-10T14:16:34.777
Modified: 2026-06-10T14:16:34.777
Link: CVE-2026-49498
No data.
OpenCVE Enrichment
No data.