CVE Catalog

CVE-2026-116246

MediumCVSS 6.5
Published: Translated: NVD NIST

Summary

In pgAdmin 4, the server password was written into pgAdmin's own process environment (as PGPASSWORD for the PSQL tool and under a per-process variable for a utility) and never removed. In server mode the environment is shared across all users' requests and copied into started processes, so another user could inherit the password and use it to connect.

Risk Assessment

One user can connect to a database using another user's saved password. The risk affects pgAdmin server mode.

Recommendation

Update pgAdmin 4 to version 9.19 or later.

Other vulnerabilities in pgAdmin 4

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS