Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-49498: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in nationalsecurityagency ghidra

0
High
VulnerabilityCVE-2026-49498cvecve-2026-49498
Published: Wed Jun 10 2026 (06/10/2026, 12:38:34 UTC)
Source: CVE Database V5
Vendor/Project: nationalsecurityagency
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

GitHub Actionsmore threats →cve
ghidra
pkg:github/ghidra
Affected versions
>=11.0 <12.1

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

AILast updated: 06/10/2026, 13:49:07 UTC

Technical Analysis

CVE-2026-49498 is a SQL injection vulnerability in Ghidra's PostgresFunctionDatabase component affecting versions 11.0 through before 12.1. The vulnerability occurs because the changePassword() method fails to properly escape double quotes in usernames interpolated into ALTER ROLE SQL commands. This allows authenticated attackers to craft malicious username parameters in PasswordChange network messages to execute arbitrary SQL commands. Successful exploitation can escalate privileges to PostgreSQL superuser level, granting full database control.

Potential Impact

An authenticated attacker can exploit this vulnerability to execute arbitrary SQL commands with elevated privileges, specifically escalating to PostgreSQL superuser rights. This results in full control over the underlying database, which can lead to data manipulation, unauthorized access, and potential compromise of the entire Ghidra application environment relying on that database.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the PasswordChange functionality to trusted users only and monitor for suspicious activity related to password changes. Avoid using vulnerable versions in sensitive environments.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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: 6/10/2026, 1:33:34 PM

Last enriched: 6/10/2026, 1:49:07 PM

Last updated: 6/10/2026, 5:49:52 PM

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses