Vulnerability · Published Oct 30, 2026 · Assigned by PostgreSQL
CVE-2026-116246pgAdmin 4: Server passwords are left in pgAdmin's process environment
Medium 6.5
In plain English
A medium-severity security flaw in pgAdmin 4 from pgadmin.org. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 9% of all known vulnerabilities).
Official 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 products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| pgadmin.org | pgAdmin 4 | 0 – before 9.19 |
Weakness: CWE-214, CWE-526 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N