CVE Catalog

CVE-2026-116242

HighCVSS 8.2
Published: Translated: NVD NIST

Summary

In pgAdmin 4 server mode, the sshtunnel library always loaded unencrypted private keys from the service account's ~/.ssh and read its SSH configuration, allowing any user to configure a tunnel using the service account's identity. The vulnerability affects versions before 9.19.

Risk Assessment

A user could access remote hosts as the service account without their own credentials, compromising the confidentiality and integrity of SSH connections.

Recommendation

Update pgAdmin 4 to version 9.19 or later, which in server mode uses only the identity file or password configured by the user.

Other vulnerabilities in pgAdmin 4

See all
Original NVD description (English source)

pgAdmin 4 opens SSH tunnels with the sshtunnel library but gave it neither host_pkey_directories nor ssh_config_file, so it always loaded the unencrypted private keys in ~/.ssh of the operating-system account running pgAdmin, read that account's ~/.ssh/config (IdentityFile, User, HostName, ProxyCommand) for the tunnel host, and could use its ssh-agent. In server mode any user could therefore configure a tunnel to a host that accepts the service account's key, with no credentials of their own or with an identity file that did not exist in their storage, and reach it as that account. The fix makes tunnels in server mode use only the identity file or password the user configured: the service account's keys, configuration and agent are no longer used, and an identity file that cannot be found in the user's storage is reported instead of falling back to ~/.ssh. Desktop mode is unchanged. This issue affects pgAdmin 4: before 9.19.

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