PatchSiren cyber security CVE debrief
CVE-2026-49498 nationalsecurityagency CVE debrief
CVE-2026-49498 is a SQL injection vulnerability in the changePassword() method of PostgresFunctionDatabase in Ghidra 11.0 before 12.1. The vulnerability 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.
- Vendor
- nationalsecurityagency
- Product
- ghidra
- CVSS
- HIGH 8.7
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-06-10
- Original CVE updated
- 2026-07-14
- Advisory published
- 2026-06-10
- Advisory updated
- 2026-07-14
Who should care
Users of Ghidra 11.0 before 12.1, administrators of systems where Ghidra is installed, and security teams monitoring for potential SQL injection attacks.
Technical summary
The vulnerability is located in the changePassword() method of PostgresFunctionDatabase. It fails to properly escape double quotes in usernames, allowing authenticated attackers to inject SQL commands. This can be exploited via crafted username parameters in PasswordChange network messages.
Defensive priority
HIGH
Recommended defensive actions
- Update Ghidra to version 12.1 or later.
- Restrict access to the Ghidra application to trusted users only.
- Monitor network traffic for suspicious PasswordChange messages.
Evidence notes
CVE-2026-49498 has a CVSS score of 8.7 and is classified as HIGH severity. The vulnerability is confirmed to exist in Ghidra versions 11.0 and below, up to but not including 12.1.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-49498 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-49498
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-49498 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-49498
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Mitigation or vendor reference
Unverified legacy reference
URL: https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-vv7r-2rhf-5h7g
[email protected] - Vendor Advisory
-
Mitigation or vendor reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/ghidra-sql-injection-in-postgresql-password-change-via-unescaped-username
[email protected] - Third Party Advisory
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.