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

Published Oct 30, 2026
·
Updated

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 KRB5CLIENTKTNAME at a file that cannot exist except while a Kerberos-authenticated user connects with Kerberos, and gives every other connection, psql and the utilities requireauth=!gss,!sspi and gssencmode=disable, checked on the final connection string. requireauth needs libpq 16 or later.

This issue affects pgAdmin 4: before 9.19.

Affected Software

1 affected component
pgAdmin pgAdmin 4<9.19

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pgAdmin 4 to a version that resolves this vulnerability.

    Fixed in 9.19
  2. Upgrade

    Upgrade libpq to a version that resolves this vulnerability.

    Fixed in 16
  3. Configuration

    Set KRB5CCNAME and KRB5_CLIENT_KTNAME to a file that cannot exist except during a Kerberos-authenticated connection.

    Kerberos environment KRB5CCNAME and KRB5_CLIENT_KTNAME = Point both variables at a file that cannot exist except while a Kerberos-authenticated user connects with Kerberos
  4. Configuration

    Set require_auth=!gss,!sspi and gssencmode=disable on the final connection string for every other connection.

    psql and utilities require_auth and gssencmode = require_auth=!gss,!sspi; gssencmode=disable

Event History

Oct 30, 2026
CVE Published
via MITRE·07:55 PM
Data Sourced
via MITRE·07:55 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:17 PM
DescriptionSeverityWeakness
Oct 31, 2026
Exploit Published
via GitHub·07:40 AM
Nov 6, 2026
Data Sourced
via NVD·05:17 PM
RemedyAffected Software

Frequently Asked Questions

1

Which deployments are exposed to service-account impersonation?

Server-mode pgAdmin deployments are exposed when the operating-system account running pgAdmin has usable Kerberos credentials in its default credential cache or a client keytab, or on Windows through that account's SSPI logon. In that situation, any pgAdmin user could connect as the service account's Kerberos principal if the server requests GSSAPI authentication.

2

Does disabling GSS encryption prevent exploitation?

No. Setting gssencmode=disable did not prevent libpq from supplying the service account's ticket when a server requested GSSAPI authentication.

3

Are pgAdmin command-line connections also affected?

Yes. psql launched by pgAdmin inherited pgAdmin's environment, which could contain another user's credential cache while that user was connecting. The issue also applies to utilities covered by the fix.

4

What change addresses the issue?

Upgrade to pgAdmin 4 version 9.19 or later. The fix prevents ordinary connections from using Kerberos credential-cache or keytab paths and applies require_auth=!gss,!sspi plus gssencmode=disable to non-Kerberos connections; require_auth requires libpq 16 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203