sadrobot

← Back to the monthly list

CVE-2026-116245 pgadmin.org · pgAdmin 4

9.6 Critical

AI summary

pgAdmin 4 before 9.19 in server mode lets any authenticated user connect with the service account's credentials via its libpq service file entries or PGPASSWORD/PGSERVICE variables. Critical (CVSS 9.6); 9.19 adds the SERVER_MODE_ALLOWED_SERVICES allowlist, empty by default.

Official description

libpq looks a connection service up in the service file of the operating-system account running pgAdmin 4, and an entry there can hold a password or name a password file or client certificate. In server mode any user could set a server's Service, or a "service" connection parameter, to one of those entries and connect with its credentials. A PGPASSWORD or PGSERVICE variable set for that account was likewise used by libpq for every connection without a value of its own and passed on to the utilities, and pg_dumpall read a maintenance database name such as "service=..." as a connection string. The fix adds the SERVER_MODE_ALLOWED_SERVICES setting, empty by default: in server mode only a listed service can be used, the servicefile parameter is refused, and PGPASSWORD and PGSERVICE are removed from pgAdmin's environment at startup. The allowlist is checked again on the final connection string, and the pg_dumpall database name is wrapped as a connection string. This issue affects pgAdmin 4: before 9.19.

Published
2026-10-30 20:17 UTC
Modified
2026-11-06 17:17 UTC
CVSS
9.6 Critical CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
EPSS
0.21% (percentile 7)
ENISA EUVD
EUVD-2026-114386
CISA SSVC
Exploitation: none · Automatable: no · Technical impact: total
CWE
CWE-522

CVSS vector

Attack vector
network
Attack complexity
low
Privileges required
low
User interaction
none
Scope
changed
Confidentiality
high
Integrity
high
Availability
none

References