Skip to content
Sign in
CVE-2026-1162398.9High

pgAdmin 4: An LDAP or Kerberos login is logged in to another account with the same username

pgadmin.org · pgAdmin 4

Not in CISA KEVVendor fix available
0.4%probability of exploitation in the next 30 days
32nd percentile
050100

Higher than 32% of scored CVEs

8.9HighCVSS
LowHigh

DescriptionNVD

In server mode pgAdmin 4 keeps an account per authentication source, so the same username can exist as, for example, an internal account and an LDAP account. After LDAP or Kerberos authenticated a user, pgAdmin chose the account to log in by username alone, or took the account Flask-Security's login form had looked up, without checking that it came from the source that authenticated the user. The session therefore belonged to another account, with its role, its servers and its saved database passwords: An LDAP or Kerberos user whose username matched an internal account was logged in as that internal account, including the administrator account created when pgAdmin is first set up. With internal authentication listed before LDAP or Kerberos in AUTHENTICATION_SOURCES, the login form's internal validation looks up the account whose email was typed and keeps it even though its password does not match. A Kerberos user could type another Kerberos user's principal and be logged in as that user, and an LDAP user could do the same with an LDAP account whose email is their username. Exploitation requires valid credentials for an LDAP directory or Kerberos realm that pgAdmin is configur

Coverage1 article · 1 outlet

First in our coverage: SecurityOnline, 2 Nov.

  1. pgAdmin 4 update fixes 15 flaws, including command execution
    SecurityOnline · first in our coverage · mentions it in passing

New articles also arrive in the RSS feed.

References

Updated AboutDevelopersSign in