# CVE-2026-49498: Ghidra 11.0 < 12.1 - SQL Injection in PostgreSQL Password Change via Unescaped Username

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2026-06-10T12:38:34.069Z
- Modified: 2026-10-26T11:10:00.157Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- nationalsecurityagency ghidra: from 11.0 before 12.1 (not affected: 12.1)
- nsa ghidra: from 11.0 before 12.1

## Every score

- VulnCheck: CVSS:4.0 8.7 High `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`
- VulnCheck: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-vv7r-2rhf-5h7g> (vendor-advisory)
- <https://www.vulncheck.com/advisories/ghidra-sql-injection-in-postgresql-password-change-via-unescaped-username> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-49498](https://www.cve.org/CVERecord?id=CVE-2026-49498), CVE Terms of Use, modified 2026-07-14
- NVD: [CVE-2026-49498](https://nvd.nist.gov/vuln/detail/CVE-2026-49498), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-49498 · Whole record: https://cve.day/CVE-2026-49498.json · Rebuilt by cve.day 2026-11-25T22:59:24.319Z
