# CVE-2026-116245: pgAdmin 4: Connection services are not restricted in server mode

- 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.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2026-10-30T19:55:15.679Z
- Modified: 2026-11-06T17:17:15.393Z
- Weaknesses: CWE-522, CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: PostgreSQL

## Description

libpq looks a connection service up in the service file of the operating-system account running pgAdmin 4, and an entry there can hold a password or name a password file or client certificate. In server mode any user could set a server's Service, or a "service" connection parameter, to one of those entries and connect with its credentials. A PGPASSWORD or PGSERVICE variable set for that account was likewise used by libpq for every connection without a value of its own and passed on to the utilities, and pg_dumpall read a maintenance database name such as "service=..." as a connection string.

The fix adds the SERVER_MODE_ALLOWED_SERVICES setting, empty by default: in server mode only a listed service can be used, the servicefile parameter is refused, and PGPASSWORD and PGSERVICE are removed from pgAdmin's environment at startup. The allowlist is checked again on the final connection string, and the pg_dumpall database name is wrapped as a connection string.

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/10654> (issue-tracking)
- <https://github.com/pgadmin-org/pgadmin4/commit/a0c8f4857f732c6f5e5bacf4b289b811bb5c6a06> (patch)

## Sources

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

---

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