# CVE-2026-116242: pgAdmin 4: SSH tunnels use the pgAdmin service account's own SSH identity

- Severity: High 7.1 (CVSS:4.0, scored by PostgreSQL) `CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:H/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.30%, higher than 24% of CVEs (2026-12-01)
- Published: 2026-10-30T19:55:13.843Z
- Modified: 2026-11-06T17:17:14.880Z
- Weaknesses: CWE-522, CWE-1188
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: PostgreSQL

## Description

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.

(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 8.2 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N`
- PostgreSQL: CVSS:4.0 7.1 High `CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:H/SA:N`
- NVD: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N`

## References

- <https://github.com/pgadmin-org/pgadmin4/issues/10662> (issue-tracking)
- <https://github.com/pgadmin-org/pgadmin4/commit/d52fe4740eb1af89d940f2e412bd66a0a89f08bb> (patch)

## Sources

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

---

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