← Back to search

CVE-2026-116244

8.2 HIGHpublic exploit available

Published 2026-10-30 · Updated 2026-11-04

AI risk analysis

Summary
pgAdmin 4 incorrectly handled Kerberos credentials when GSSAPI authentication was not intended, allowing any user to authenticate as the service account's principal by leveraging the fallback credential cache or keytab, bypassing intended access controls.
Exploitability
Exploitation requires a Kerberos-authenticated pgAdmin user session and a server offering GSSAPI authentication; high attack complexity due to environment-specific Kerberos setup.
Blast radius
In server mode, any authenticated pgAdmin user could impersonate the service account across all databases accepting GSSAPI, potentially gaining unauthorized access to sensitive data or systems managed by that account.
Detection
Look for GSSAPI authentication attempts in PostgreSQL server logs where the authenticated principal does not match the pgAdmin user's expected Kerberos identity, especially when gssencmode is set to 'prefer' or 'allow' but not 'disable'; no reliable host-side indicator exists for non-GSSAPI connections due to credential cache reuse.
Prioritized remediation
Upgrade to pgAdmin 4 version 9.19 or later, which enforces KRB5CCNAME and KRB5_CLIENT_KTNAME isolation per connection and applies require_auth=!gss,!sspi and gssencmode=disable checks on the final connection string.
kerberosauth-bypassprivilege-escalationpgadmingssapi

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

When a pgAdmin 4 connection was not meant to use a Kerberos user's delegated credentials, pgAdmin removed KRB5CCNAME from its environment, so the Kerberos library fell back to the default credential cache, or a client keytab, of the operating-system account running pgAdmin. libpq then answered any server that asked for GSSAPI authentication with that account's ticket, whatever user name the pgAdmin user gave, so in server mode any user could connect as the service account's Kerberos principal; gssencmode=disable did not prevent it. On Windows, SSPI used the service account's logon in the same way. psql was also started with pgAdmin's environment, which could hold another user's credential cache while that user was connecting. The fix points KRB5CCNAME and KRB5_CLIENT_KTNAME at a file that cannot exist except while a Kerberos-authenticated user connects with Kerberos, and gives every other connection, psql and the utilities require_auth=!gss,!sspi and gssencmode=disable, checked on the final connection string. require_auth needs libpq 16 or later. This issue affects pgAdmin 4: before 9.19.

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N

Weaknesses

CWE-522, CWE-1188

Vendors

pgadmin

Products

pgadmin 4

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.