CVE-2026-49498: Nsa Ghidra

High severity, CVSS 8.8. EPSS: 0.5% chance of exploitation in the next 30 days.

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 products

  • Nsa Ghidra: from 11.0, before 12.1 (fixed in 12.1)

Published 2026-06-10. Last modified 2026-07-14.