Ghidra 11.0 < 12.1 - SQL Injection in PostgreSQL Password Change via Unescaped Username
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-89.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| NationalSecurityAgency | ghidra | 11.0 to before 12.1 | 12.1 | Patch available | CNA |
- ghidra VendorNationalSecurityAgency Affected 11.0 to before 12.1 Fixed in 12.1 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:nsa:ghidra:*:*:*:*:*:*:*:* | 11.0 to before 12.1 | Vulnerable | NationalSecurityAgency |
- cpe:2.3:a:nsa:ghidra:*:*:*:*:*:*:*:* Versions 11.0 to before 12.1 Vulnerable ·NationalSecurityAgency
Remediation
- Fix · CNA ghidra (nationalsecurityagency) Fixed in 12.1
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
nationalsecurityagency ghidra 12.1
9 records Highest priority Priority HIGH 1 HIGH, 4 MEDIUM, 4 LOW
Other records, highest priority first
- TI-2026-37876 Ghidra < 12.1 - SQL Injection via Unescaped Filter Values in BSim SearchPriority HIGH 73
- TI-2026-36646 Ghidra < 12.1 - Heap-Use-After-Free in SleighBuilder::generatePointerAdd via Vector ReallocationPriority MEDIUM 64
- TI-2026-36645 Ghidra 10.2 < 12.1 - Denial of Service via Circular Reference in Mach-O Export Trie ParserPriority MEDIUM 63
Timeline
- 2026-10-02 Threatist record created from CVE-2026-49498
- 2026-10-25 Priority changed: MEDIUM → LOW
References
More NationalSecurityAgency Ghidra vulnerabilities
- TI-2023-08846 Ghidra/RuntimeScripts/Linux/support/launch.sh in NSA Ghidra through 10.2.2 passes… CVSS 3.1CRITICAL 9.8
- TI-2026-37876 Ghidra < 12.1 - SQL Injection via Unescaped Filter Values in BSim Search CVSS 4.0HIGH 8.7
- TI-2026-04310 NSA Ghidra Auto-Analysis Annotation Command Execution CVSS 3.1HIGH 8.8
- TI-2026-37873 Ghidra < 12.0.4 - Path Traversal via Zip Slip in Theme Import CVSS 4.0HIGH 8.4
- TI-2026-37870 Ghidra < 12.0.2 - Path Traversal in Extension Installer via ZIP Entry Names CVSS 4.0HIGH 8.4
- TI-2026-36646 Ghidra < 12.1 - Heap-Use-After-Free in SleighBuilder::generatePointerAdd via Vector Reallocation CVSS 4.0MEDIUM 6.9
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences