{"id":"CVE-2026-49498","aliases":["CVE-2026-49498"],"related":[],"kind":"vulnerability","state":"published","title":"Ghidra 11.0 < 12.1 - SQL Injection in PostgreSQL Password Change via Unescaped Username","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-06-10T12:38:34.069Z","modified":"2026-10-26T11:10:00.157Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":8.7,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"type":"custom","introduced":"11.0","fixed":"12.1","status":"affected"},{"type":"custom","version":"12.1","status":"unaffected"}],"vendor":"nationalsecurityagency","product":"ghidra","repo":"https://github.com/nationalsecurityagency/ghidra","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"11.0","fixed":"12.1"}],"vendor":"nsa","product":"ghidra","cpe":"cpe:2.3:a:nsa:ghidra:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-vv7r-2rhf-5h7g","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/ghidra-sql-injection-in-postgresql-password-change-via-unescaped-username","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Sean Nejad (@allsmog)"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-06-10T13:52:00.912Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-49498","url":"https://www.cve.org/CVERecord?id=CVE-2026-49498","licence":"CVE Terms of Use","modified":"2026-07-14T21:33:25.972Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-49498","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49498","licence":"Public domain","modified":"2026-10-26T11:10:00.157Z"}],"updatedAt":"2026-11-25T22:59:24.319Z","epss":{"score":0.00259,"percentile":0.18779,"date":"2026-12-01T12:00:22.000Z"}}