# CVE-2026-116247 - pgAdmin 4: libpq uses the pgAdmin service account's own password file and client certificate

DevFeed: [CVE-2026-116247 - pgAdmin 4: libpq uses the pgAdmin service account's own password file and client certificate](<https://devfeed.tech/articles/cve-2026-116247-pgadmin-4-libpq-uses-the-pgadmin-service-account-s-own-password-file-and-client-certificate-109373.md>)

Original publisher: [Read original article](<https://cvefeed.io/vuln/detail/CVE-2026-116247>)

Author: cvefeed.io

Published: 2026-10-30T20:17:04Z

Content type: news

Language: en

Sources: [Latest High/Critical Vulnerabilitiy Feed](<https://devfeed.tech/sources/latest-high-critical-vulnerabilitiy-feed.md>)

Topics: [certificates](<https://devfeed.tech/topics/certificates.md>), [file](<https://devfeed.tech/topics/file.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [account](<https://devfeed.tech/tags/account.md>), [can](<https://devfeed.tech/tags/can.md>), [certificate](<https://devfeed.tech/tags/certificate.md>), [client](<https://devfeed.tech/tags/client.md>), [conf](<https://devfeed.tech/tags/conf.md>), [connect](<https://devfeed.tech/tags/connect.md>), [copy](<https://devfeed.tech/tags/copy.md>), [crt](<https://devfeed.tech/tags/crt.md>), [cve](<https://devfeed.tech/tags/cve.md>), [cve-2026-116247](<https://devfeed.tech/tags/cve-2026-116247.md>), [cvss](<https://devfeed.tech/tags/cvss.md>), [database](<https://devfeed.tech/tags/database.md>), [file](<https://devfeed.tech/tags/file.md>), [password](<https://devfeed.tech/tags/password.md>), [pgadmin](<https://devfeed.tech/tags/pgadmin.md>), [pgadmin-4](<https://devfeed.tech/tags/pgadmin-4.md>), [published](<https://devfeed.tech/tags/published.md>), [service](<https://devfeed.tech/tags/service.md>), [uses](<https://devfeed.tech/tags/uses.md>)

## AI overview

In pgAdmin 4 server mode before 9.19, omitted or unavailable password-file and client-certificate settings let libpq fall back to the operating-system account's own credential files or environment variables. This could let any user connect using credentials saved for the pgAdmin service account; a public certificate copy could be paired with that account's private key. A pg_service.conf entry or pg_dumpall maintenance database connection string could also reintroduce those files for utilities. The fix supplies each parameter explicitly in server mode, using the user's file or an inaccessible path, in the connection, utility environment, and --dbname string, which takes precedence over a service entry. Desktop mode is unchanged.

## Source excerpt

CVE ID :CVE-2026-116247 Published : Oct. 30, 2026, 8:17 p.m. | 1 hour, 37 minutes ago Description :When a server in pgAdmin 4 had no password file, client certificate or client key configured, or the configured one could not be found, pgAdmin left the parameter out of the connection and libpq fell back to the defaults of the operating-system account running pgAdmin: ~/.pgpass, ~/.postgresql/postgresql.crt and postgresql.key, or PGPASSFILE, PGSSLCERT and PGSSLKEY. In server mode any user could therefore connect to a server with the service account's saved passwords or client certificate, and supplying only a copy of its public certificate was enough for libpq to pair it with the service account's private key. A pg_service.conf entry, or a maintenance database name read as a connection string by pg_dumpall, could bring the same files back for the utilities. The fix gives each of these parameters a value in server mode, the user's own file or otherwise a path that can never be opened, in the connection string, in the environment of the utilities and in the --dbname connection string that ranks above a service entry. Desktop mode is unchanged. This issue affects pgAdmin 4: before 9.19. Severity: 8.2 | HIGH Visit the link for more details, such as CVSS details, affected products, timeline, and more...