CVE-2026-116246
JSON

7.0high

pgAdmin 4: Server passwords are left in pgAdmin's process environment

Severity
7.0high CVSS:4.0 by PostgreSQL
Exploit likelihood
0.25% (higher than 17% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
PostgreSQL

Description

To pass a server's password to psql and to the utilities pgAdmin 4 runs as background processes, the server manager wrote it into pgAdmin's own process environment: as PGPASSWORD for the PSQL tool, and under a per-process variable for a utility. Nothing removed it afterwards. pgAdmin's environment is shared by every user's requests and copied into every process it starts, so in server mode another user's later PSQL session or utility inherited the password, and libpq used PGPASSWORD for any connection made without a password of its own, letting one user connect with another user's saved password. The fix puts the password only into the environment built for the process that needs it and starts psql with a copy of pgAdmin's environment instead of the environment itself. This issue affects pgAdmin 4: before 9.19.

Affected

Product or packageVersionsReported by
pgadmin.org pgAdmin 4before 9.19CVE List
pgadmin pgadmin_4before 9.19NVD

All scores

PostgreSQL6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N
PostgreSQL7.0high CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:H/VI:N/VA:N/SC:H/SI:L/SA:N
NVD7.6high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N

Classification

CWE-214CWE-526

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-116246 changed 2026-11-06CVE Terms of Use
NVDCVE-2026-116246 changed 2026-11-06Public domain