Skip to content

CVE-2026-116244 pgAdmin 4: libpq uses the pgAdmin service account's Kerberos credentials

HighCVSS 7.1 EPSS 0.28%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
pgadmin 4 < 9.19 9.19 Fixed
pgadmin.org pgAdmin 4 < 9.19 9.19 Fixed

Affected products

ProductAffected versionsFixed in
pgadmin.org pgAdmin 4 < 9.19 9.19
pgadmin 4 < 9.19 9.19

References