CVE Catalog

CVE-2026-49498

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.26%

17th percentile - higher than 17% of all known CVEs

Summary

Ghidra versions 11.0 through 12.0 contain a SQL injection vulnerability in the changePassword() method of PostgresFunctionDatabase. The failure to escape double quotes in usernames interpolated into ALTER ROLE statements allows authenticated attackers to inject SQL commands via crafted username parameters in PasswordChange network messages.

Risk Assessment

An attacker can escalate privileges to PostgreSQL superuser, gaining full control over the database. This could lead to data theft, modification, or deletion, as well as compromise system integrity.

Recommendation

Immediately upgrade Ghidra to version 12.1 or later, which includes a fix for this vulnerability. Until the update is applied, restrict access to the password change functionality to trusted users only.

Other vulnerabilities in Ghidra

See all
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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS