CVE-2026-116242

published 30 Oct 2026 · updated 6 Nov 2026

pgAdmin 4: SSH tunnels use the pgAdmin service account's own SSH identity

8.2HighCVSS 8.2EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 9.19.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
pgadminpgadmin_4<9.199.19
pgadmin.org<9.199.19

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-116242 severity on Zeptric[![CVE-2026-116242](https://zeptric.io/badge/cve/CVE-2026-116242.svg)](https://zeptric.io/cve/CVE-2026-116242)