CVE-2026-49498

Severity CVSS v4.0:
HIGH
Type:
CWE-89 SQL Injection
Publication date:
10/06/2026
Last modified:
11/06/2026

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:nsa:ghidra:*:*:*:*:*:*:*:* 11.0 (including) 12.1 (excluding)