CVE-2026-49498: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in nationalsecurityagency ghidra
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.
AI Analysis
Technical Summary
CVE-2026-49498 describes a SQL injection vulnerability in the National Security Agency's Ghidra software, specifically in versions 11.0 prior to 12.1. The vulnerability exists in the changePassword() method of the PostgresFunctionDatabase component, where double quotes in usernames are not properly escaped when interpolated into ALTER ROLE SQL commands. This allows an authenticated attacker to inject arbitrary SQL commands through crafted username parameters in PasswordChange network messages. Successful exploitation can lead to escalation to PostgreSQL superuser privileges, granting full database control. The CVSS 4.0 base score is 8.7, indicating high severity. No official patch or remediation guidance is currently provided, and no known exploits in the wild have been reported.
Potential Impact
An authenticated attacker can exploit this vulnerability to execute arbitrary SQL commands with PostgreSQL superuser privileges. This can result in full compromise of the underlying database, including unauthorized data access, modification, or deletion, and potentially further system compromise through database control.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict access to the PasswordChange network messages to trusted users only and monitor for suspicious activity related to password changes. Avoid using affected versions in sensitive environments if possible.
CVE-2026-49498: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in nationalsecurityagency ghidra
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.
CVSS v4.0
Score 8.7high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-49498 describes a SQL injection vulnerability in the National Security Agency's Ghidra software, specifically in versions 11.0 prior to 12.1. The vulnerability exists in the changePassword() method of the PostgresFunctionDatabase component, where double quotes in usernames are not properly escaped when interpolated into ALTER ROLE SQL commands. This allows an authenticated attacker to inject arbitrary SQL commands through crafted username parameters in PasswordChange network messages. Successful exploitation can lead to escalation to PostgreSQL superuser privileges, granting full database control. The CVSS 4.0 base score is 8.7, indicating high severity. No official patch or remediation guidance is currently provided, and no known exploits in the wild have been reported.
Potential Impact
An authenticated attacker can exploit this vulnerability to execute arbitrary SQL commands with PostgreSQL superuser privileges. This can result in full compromise of the underlying database, including unauthorized data access, modification, or deletion, and potentially further system compromise through database control.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict access to the PasswordChange network messages to trusted users only and monitor for suspicious activity related to password changes. Avoid using affected versions in sensitive environments if possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-05-31T11:54:34.994Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a2967aec9170919df1fd478
Added to database: 06/10/2026, 13:33:34 UTC
Last enriched: 07/15/2026, 10:08:03 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 90
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.