{"id":"CVE-2026-49498","published":"2026-06-10T12:38:34Z","modified":"2026-07-14T21:33:25Z","title":"Ghidra 11.0 < 12.1 - SQL Injection in PostgreSQL Password Change via Unescaped Username","vendor":"nationalsecurityagency","product":"ghidra","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00259,"percentile":0.17921,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-vv7r-2rhf-5h7g","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/ghidra-sql-injection-in-postgresql-password-change-via-unescaped-username","tags":["third-party-advisory"]}],"priority":{"score":9.7,"factors":[{"name":"EPSS percentile","points":3.58},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"nationalsecurityagency","affectedVersions":[{"vendor":"nationalsecurityagency","product":"ghidra","versions":[">= 11.0, < 12.1"]}],"fixedVersions":[{"vendor":"nationalsecurityagency","product":"ghidra","versions":["12.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-06-10T13:52:00.912342Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-36007","exploited":false,"provenance":"source"}}