Vulnerability Explorer›CVE-2026-49498
VULNERABILITY
CVE-2026-49498
Common Vulnerabilities and Exposures record
HIGH
Summary
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.
Risk
- CVSS
- 8.7
- Severity
- HIGH
- Vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Timeline
- Published
- Jun 10, 2026 14:16
- Modified
- Oct 26, 2026 11:10
- Last observed
- Oct 26, 2026 08:00
CWE
Affected product identifiers
cpe:2.3:a:nsa:ghidra:*:*:*:*:*:*:*:*