CVE-2026-49498
HighCVSS 8.8Exploitation Probability (EPSS)
Low risk9th percentile - higher than 9% of all known CVEs
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.
Risk Assessment
Attackers can escalate to PostgreSQL superuser privileges, gaining full database control, which poses a serious security threat to the organization.
Recommendation
It is recommended to update Ghidra to version 12.1 or later to mitigate this vulnerability and to review and monitor database logs for potential attack attempts.
Original NVD description (English source)
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.

