SQL injection in Ghidra - #VU131579
Published: May 15, 2026
Ghidra
Detailed vulnerability description
The vulnerability allows a remote user to escalate privileges.
The vulnerability exists due to SQL injection in changePassword() in PostgresFunctionDatabase when processing a PasswordChange network protocol message. A remote user can send a specially crafted username value to escalate privileges.
The issue arises because double quote characters in the username are not escaped before the value is interpolated into an ALTER ROLE SQL statement.