# CVE-2026-116246: pgAdmin 4: Server passwords are left in pgAdmin's process environment

- Severity: High 7.0 (CVSS:4.0, scored by PostgreSQL) `CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:H/VI:N/VA:N/SC:H/SI:L/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2026-10-30T19:55:16.276Z
- Modified: 2026-11-06T17:17:15.563Z
- Weaknesses: CWE-214, CWE-526
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- pgadmin.org pgAdmin 4: before 9.19
- pgadmin pgadmin_4: before 9.19

## Every score

- PostgreSQL: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N`
- PostgreSQL: CVSS:4.0 7.0 High `CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:H/VI:N/VA:N/SC:H/SI:L/SA:N`
- NVD: CVSS:3.1 7.6 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N`

## References

- <https://github.com/pgadmin-org/pgadmin4/issues/10653> (issue-tracking)
- <https://github.com/pgadmin-org/pgadmin4/commit/0eefa38f774dce07c1f939d87f2993b36e2313b9> (patch)

## Sources

- CVE List: [CVE-2026-116246](https://www.cve.org/CVERecord?id=CVE-2026-116246), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-116246](https://nvd.nist.gov/vuln/detail/CVE-2026-116246), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-116246 · Whole record: https://cve.day/CVE-2026-116246.json · Rebuilt by cve.day 2026-11-25T22:59:48.011Z
