SQL Injection in Nationalsecurityagency Ghidra

CVE-2026-49498

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 class: SQL Injection

EPSS: 0.003 (17.4th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-49498?
CVE-2026-49498 is a high-severity vulnerability in Nationalsecurityagency Ghidra, classified under SQL Injection. CVSS score: 8.8/10. Published 2026-06-10.
How severe is CVE-2026-49498?
High severity. CVSS v3 base score is 8.8 out of 10.