CVE-2026-49498
JSON

8.7high

Ghidra 11.0 < 12.1 - SQL Injection in PostgreSQL Password Change via Unescaped Username

Severity
8.7high CVSS:4.0 by VulnCheck
Exploit likelihood
0.26% (higher than 18% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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.

Affected

Product or packageVersionsReported by
nationalsecurityagency ghidrafrom 11.0 before 12.1
Not affected: 12.1
CVE List
nsa ghidrafrom 11.0 before 12.1NVD

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-89

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Ghidra 11.0 anterior a 12.1 contiene una vulnerabilidad de inyección SQL en el método changePassword() de PostgresFunctionDatabase que no escapa las comillas dobles en nombres de usuario interpolados en sentencias ALTER ROLE. Atacantes autenticados pueden inyectar comandos SQL a través de parámetros de nombre de usuario manipulados en mensajes de red PasswordChange para escalar a privilegios de superusuario de PostgreSQL y obtener control total de la base de datos.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-49498 changed 2026-07-14CVE Terms of Use
NVDCVE-2026-49498 changed 2026-10-26Public domain