CVE-2026-116239
Last modified
CVE-2026-116239 is a high-severity vulnerability rated 8.5/10 on the CVSS scale. 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.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| pgadmin.org | pgAdmin 4 | < 9.19 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-116239?
How severe is CVE-2026-116239?
How do I fix CVE-2026-116239?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-116233A security vulnerability has been detected in Oray Pugongyin…9.1
- CVE-2026-116234A vulnerability was detected in Oray Pugongying X5 Pro 7.6.1…9.1
- CVE-2026-116235A flaw has been found in Oray Pugongying X5 Pro 7.6.1. Affec…9.1
- CVE-2026-116236A vulnerability has been found in Oray Pugongying X5 Pro 7.6…7.2
- CVE-2026-116237A vulnerability was found in Oray Pugongying X5 Pro 7.6.1. T…8.4
- CVE-2026-116238In server mode pgAdmin 4 locks an internal account after MAX…8.1
- CVE-2026-11624The Model Context Protocol has a security warning advising s…9.4
- CVE-2026-116240In server mode pgAdmin 4 validates a path into the user's st…6.5
- CVE-2026-116241pgAdmin 4's Import/Export Data tool wraps a user's query exp…9.9
- CVE-2026-116242pgAdmin 4 opens SSH tunnels with the sshtunnel library but g…8.2
- CVE-2026-116243pgAdmin 4 runs pg_dump, pg_restore, pg_dumpall and psql from…7.5
- CVE-2026-116244When a pgAdmin 4 connection was not meant to use a Kerberos …8.2
Are you affected by CVE-2026-116239?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
