Technical impact
The flaw occurs when pgAdmin 4 in server mode selects a user account solely by username after an LDAP or Kerberos authentication, without verifying that the authenticated source matches the account’s origin. An attacker with valid LDAP or Kerberos credentials that match a username already defined as an internal account can be logged in as that internal account, potentially an administrator. This gives the attacker that account’s roles, access to all configured servers, and stored database passwords, effectively providing full read/write privileges to all managed databases, a serious authentication bypass problem formally identified as CWE‑287 and CWE‑639.
Affected Systems
The affected product is pgAdmin 4, the open‑source PostgreSQL administration tool, for all releases prior to version 9.19. The vulnerability is present only in the server mode of pgAdmin and does not apply to the desktop mode.
Risk and Exploitability
The CVSS score of 8.9 indicates high severity. Exploitation requires possession of valid LDAP or Kerberos credentials that the deployed pgAdmin instance is configured to use, and the attack is limited to server mode. The EPSS value is not available, but the combination of high CVSS and the potential for complete privilege escalation suggests a significant risk. The vulnerability is not listed in the CISA KEV catalogue, indicating no confirmed widespread exploitation yet, yet it remains a high‑risk issue for all organizations running vulnerable versions of pgAdmin 4.