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

Published Oct 30, 2026
·
Updated

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 Software

1 affected component
pgAdmin pgAdmin 4<9.19

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pgadmin4 to a version that resolves this vulnerability.

    Fixed in 9.19

Event History

Oct 30, 2026
CVE Published
via MITRE·07:55 PM
Data Sourced
via MITRE·07:55 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:17 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Who is exposed to credential reuse across users?

pgAdmin 4 deployments running in server mode are exposed because the pgAdmin process environment is shared across users' requests. A later user's PSQL session or utility can inherit a password saved during another user's request.

2

What does an attacker need to exploit the issue?

The attacker needs access as a pgAdmin user and must cause a PSQL session or utility connection that does not provide its own password. If the inherited PGPASSWORD is used by libpq, the connection can authenticate with another user's saved server password.

3

Are affected versions known?

pgAdmin 4 versions before 9.19 are affected. The provided data does not identify any affected configuration other than server mode.

4

What is the remediation?

Upgrade to pgAdmin 4 version 9.19 or later. The fix limits the password to the environment created for the specific background process that needs it rather than leaving it in pgAdmin's shared process environment.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203