Vulnerabilities

CVE-2026-116245

Critical 9.6 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2026-10-30
Last modified
2026-11-06
Assigned by
f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
Scored by
nvd@nist.gov (NVD Primary)
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Pgadmin Pgadmin 4 < 9.19 Affected

Weakness type

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1021: Remote Services lateral-movement
  • T1021.002: SMB/Windows Admin Shares lateral-movement
  • T1078: Valid Accounts stealth, persistence, privilege-escalation, initial-access
  • T1110.004: Credential Stuffing credential-access
  • T1114.002: Remote Email Collection collection
  • T1133: External Remote Services persistence, initial-access
  • T1211: Exploitation for Stealth stealth
  • T1542.002: Component Firmware stealth, persistence
  • T1543: Create or Modify System Process persistence, privilege-escalation
  • T1550.002: Pass the Hash lateral-movement
  • T1550.003: Pass the Ticket lateral-movement
  • T1552.004: Private Keys credential-access
  • T1556: Modify Authentication Process defense-impairment, persistence, credential-access
  • T1558: Steal or Forge Kerberos Tickets credential-access
  • T1558.003: Kerberoasting credential-access

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities