Skip to content

pgAdmin 4

pgAdmin 4: Connection services are not restricted in server mode

CVE-2026-116245Published 30 Oct 2026, 19:55 UTC

Real-world risk

0.8/ 10Low

Routine

If the vulnerable configuration applies to you: 1.8

PreliminaryFrom the CVSS vector only · confidence low

CVSS

7.1

scored by the vendor (CNA), CVSS 4.0

In plain words

No plain-language summary yet. The original description is below.

Original description (from PostgreSQL)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
pgAdmin 4Common< 9.199.19

What to do

Update to a fixed version: 9.19.

Why this score

FactorValueEvidence×
ImpactMajor data exposureReads secrets, credentials, databases, arbitrary filesFrom the CVSS vector0.80
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededLowA real low-privileged accountFrom the CVSS vector0.60
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationUncommonNeeds a non-default feature that a minority enablesFrom the CVSS vector0.45
ReliabilityHardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bugFrom the CVSS vector0.45

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.2% chance of exploitation in 30 days (percentile 10), as of 2026-12-03.

The arithmetic
  1. Prerequisites multiplied together0.122
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.8 × prerequisites 0.1215 × threat 0.850.826
  4. Rounded to one decimal between 0.1 and 100.8

How the score works

Exploitation and evidence timeline

  1. 30 Oct 2026 Published
  2. 3 Dec 2026 Risk 0.8 (cvss fallback)

Weakness

CWE-522, CWE-862

References

Get alerts for pgAdmin 4

Free email or text alerts when a vulnerability in pgAdmin 4 reaches risk 8 or higher. Nothing else.