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

Published Jun 10, 2026
·
Updated

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.

Affected Software

2 affected components
National Security Agency Ghidra>=11.0<12.1
NSA Ghidra>=11.0<12.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Ghidra to a version that resolves this vulnerability.

    Fixed in 12.1
  2. Configuration

    Disable processing of PasswordChange network messages (or otherwise disable remote password-change functionality) until Ghidra is upgraded to 12.1.

    Ghidra PasswordChange network messages handling = disabled
  3. Compensating control

    Restrict network access to the Ghidra service that handles PasswordChange messages (e.g., firewall allowlist, network ACLs, or isolate the instance) so only trusted management hosts can send these messages.

  4. Operational

    If exploitation is suspected, assume PostgreSQL superuser compromise: rotate PostgreSQL superuser and other database credentials, and perform a full audit of the database for unauthorized changes.

Event History

Jun 10, 2026
CVE Published
via MITRE·12:38 PM
Data Sourced
via MITRE·12:38 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is CVE-2026-49498?

CVE-2026-49498 is a SQL injection vulnerability in Ghidra 11.0 that affects the password change functionality due to unescaped usernames.

2

What is the severity of CVE-2026-49498?

The severity of CVE-2026-49498 is rated as high with a score of 8.7.

3

How do I fix CVE-2026-49498?

To fix CVE-2026-49498, update Ghidra to version 12.1 or later.

4

Who is affected by CVE-2026-49498?

Authenticated users of Ghidra 11.0 prior to 12.1 who attempt to change passwords are affected by CVE-2026-49498.

5

What could an attacker do with CVE-2026-49498?

An attacker can exploit CVE-2026-49498 to inject and execute arbitrary SQL commands in the database using crafted username parameters.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203