SQL injection in Ghidra - #VU131579

 

SQL injection in Ghidra - #VU131579

Published: May 15, 2026


Vulnerability identifier: #VU131579
CSH Severity: Medium
CVSS v4.0: 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:U/U:Green
CVE-ID: N/A
CWE-ID: CWE-89
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: National Security Agency
Affected software:
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.


Remediation

Install security update from vendor's website.

Sources