CVE-2026-49498

HIGH CVSS 4.0: 8.7 EPSS 0.26%
Updated Oct 26, 2026
Nsa
Parameter Value
CVSS 8.7 (HIGH)
Affected Versions 11.0 — 12.1
Fixed In 12.1
Type CWE-89 (SQL Injection)
Vendor Nsa
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Nsa Ghidra
cpe:2.3:a:nsa:ghidra:*:*:*:*:*:*:*:*
11.0 12.1