GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — libpq used the pgAdmin service account's Kerberos credentials in server mode (CVE-2026-116244) · Issue #10655 · pgadmin-org/pgadmin4

libpq used the pgAdmin service account's Kerberos credentials in server mode (CVE-2026-116244) #10655

New issue
Copy link
New issue
Copy link
Closed
Closed
libpq used the pgAdmin service account's Kerberos credentials in server mode (CVE-2026-116244)#10655
Copy link

Description

@asheshv
asheshv
opened on Oct 22, 2026
Issue body actions

Summary

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.

Affected versions

pgAdmin 4 >= 4.30, < 9.19 (4.30 is the first release with Kerberos support; earlier releases are likely affected too where libpq has GSSAPI support, but this was not verified).

Fix

Fixed in pgAdmin 4 9.19 by 145e511f05eed69ebcadd3cd61ffea0a5b4c69a4.

Severity

  • CVSS 3.1: 8.2 HIGH — CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
  • CVSS 4.0: 7.1 HIGH — CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:H/SA:N

Weaknesses

  • CWE-522 Insufficiently Protected Credentials
  • CWE-1188 Initialization of a Resource with an Insecure Default

References

  • CVE: CVE-2026-116244
  • Release notes: pgAdmin 4 9.19

Activity

  1. asheshv
    added a commit that references this issue on Oct 26, 2026

    Stop libpq using the pgAdmin service account's Kerberos credentials i…

    145e511
  2. dpage
    changed the title [-]Internal tracking: pending fix for 9.19[/-] [+]libpq used the pgAdmin service account's Kerberos credentials in server mode (CVE-2026-116244)[/+] on Nov 5, 2026
  3. dpage commented on Nov 5, 2026

    @dpage
    dpage
    on Nov 5, 2026
    Contributor
    More actions

    Fixed in pgAdmin 4 9.19, released on 29-10-2026.

    CVE: CVE-2026-116244

    Details (from the 9.19 release notes):

    Stop libpq using the pgAdmin service account's Kerberos credentials in server mode, where removing KRB5CCNAME let the Kerberos library fall back to the service account's default credential cache or client keytab (or its logon, through SSPI on Windows), so any user could answer a server's GSSAPI request as the service account's principal (CVE-2026-116244). In server mode KRB5CCNAME and KRB5_CLIENT_KTNAME now point at a file that cannot exist, except that a user who logged in with Kerberos gets their own delegated KRB5CCNAME when connecting to a server with Kerberos authentication enabled. Every other connection also gets gssencmode=disable and, with libpq 16 or later, require_auth=!gss,!sspi; without require_auth, SSPI and gssproxy are not stopped, so upgrade the libpq used by pgAdmin and its utilities to 16 or later. A server whose require_auth allows only GSSAPI or SSPI is refused unless the user logged in with Kerberos. A service listed in SERVER_MODE_ALLOWED_SERVICES takes precedence for psql and the utilities, so it must not set require_auth, gssencmode or gsslib.

    Commits:

    • 145e511 Stop libpq using the pgAdmin service account's Kerberos credentials in server mode. libpq used the pgAdmin service account's Kerberos credentials in server mode (CVE-2026-116244) #10655
  4. dpage
    closed this as completedon Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.