CVE-2026-116247
published high CVSS 4.0 · 7.1pgAdmin 4: libpq uses the pgAdmin service account's own password file and client certificate
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| pgadmin.org | — | pgAdmin 40 to < 9.19 · Other versions: unaffected | Affected | Not stated | PostgreSQL |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- PostgreSQL · cna
- Vector string
- 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
- Scenarios
- en: Same reasoning as the CVSS 3.1 entry. AT:P for the service account's credential and an accepting server. VC:H because the service account's stored secret is used through pgAdmin; SC:H/SI:H for the database server reached with that identity.
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.2 | high | PostgreSQL · cna | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N | en: Any authenticated user who can register a server. Attack Complexity is High: the service account must have a password file entry or client certificate that a server the attacker can reach accepts, a deployment condition the attacker does not control. Scope is Changed because the connection is made with the service account's database credentials, an identity the attacker was never granted; Confidentiality and Integrity are High on that database server. Availability is None. |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| pgadmin.org | pgAdmin 4 | 0 to < 9.19 (affected · custom)Default: unaffected | PostgreSQL · cna |
Weaknesses
2- CWE-522 CWE-522 Insufficiently Protected Credentials
- CWE-1188 CWE-1188 Initialization of a Resource with an Insecure Default
References
2Provider assertions
2PostgreSQL · cna
pgAdmin 4: libpq uses the pgAdmin service account's own password file and client certificate
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d91346b267af0f6586feff4eb8b1fc6b06b19312c22d89ff93c86784961e1bfe
- Ingested
- 07 Nov 2026, 23:38:29 UTC
- Source record
- Official CVE record