Skip to content

pgAdmin 4

pgAdmin 4: Connection file paths and parameter keys escape the user's storage directory

CVE-2026-116249Published 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.2

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)

In server mode pgAdmin 4 resolves a server's password file, SSL certificate, key, CRL and SSH tunnel identity file relative to the user's storage directory, but get_complete_file_path() only stripped leading slashes before joining the two. A path such as "../<another user>/.pgpass", set through the server dialog, the REST API or a servers.json import, therefore named another user's file, and connecting used that user's saved passwords, client certificate or SSH key. The sslkeylogfile connection parameter was passed to libpq unchanged, so a path outside storage let libpq create or append a file as the account running pgAdmin. make_conninfo() also quoted connection parameter values but not their names, so a crafted parameter name could smuggle additional keyword=value pairs past these checks. The fix requires the resolved path, with symbolic links followed, to stay inside the user's storage directory or the named shared storage directory, confines sslkeylogfile the same way, and accepts only exact libpq keywords as connection parameter names. A refused path or keyword is reported instead of letting libpq fall back to a default. 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 16), 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-22, CWE-73

References

Get alerts for pgAdmin 4

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