pgAdmin 4: An LDAP or Kerberos login is logged in to another account with the same username
CVE-2026-116239Published 30 Oct 2026, 19:55 UTC
Real-world risk
1.0/ 10Low
Routine
If the vulnerable configuration applies to you: 2.3
PreliminaryFrom the CVSS vector only · confidence low
CVSS
8.9
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from PostgreSQL)
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 configured to use. The fix looks the account up by the authenticated username and the source that authenticated it, and no longer uses the account the login form found for any source but internal authentication. Internal authentication logs in that account only if it is an internal account. Desktop mode is not affected. This issue affects pgAdmin 4: before 9.19.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| pgAdmin 4Common | < 9.19 | 9.19 |
What to do
Update to a fixed version: 9.19.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.5% chance of exploitation in 30 days (percentile 44), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.122
- Threat T1: Nothing known0.850
- 10 × impact 1 × prerequisites 0.1215 × threat 0.851.033
- Rounded to one decimal between 0.1 and 101.0
Exploitation and evidence timeline
- 30 Oct 2026 Published
- 3 Dec 2026 Risk 1.0 (cvss fallback)
Weakness
CWE-287, CWE-639