CVE-2026-116247
8.2 HIGHpublic exploit availablePublished 2026-10-30 · Updated 2026-11-04
AI risk analysis
- Summary
- pgAdmin 4 before 9.19 failed to enforce secure defaults for SSL/TLS and authentication files in server mode, allowing any local user to reuse the service account's credentials (e.g., ~/.pgpass, client certificates) to connect to PostgreSQL servers without authorization.
- Exploitability
- Exploitation requires local access as an unprivileged user on the same host running pgAdmin in server mode and knowledge of a target server lacking explicit credential configuration.
- Blast radius
- An attacker could gain unauthorized read/write access to any PostgreSQL database accessible via the service account's credentials, potentially leading to data exfiltration or tampering across multiple databases.
- Detection
- Monitor for unexpected PostgreSQL connections using the same client certificate or password file as the pgAdmin service account, especially from non-administrative users; check logs for libpq fallback to ~/.pgpass or ~/.postgresql/ paths when explicit credentials were configured.
- Prioritized remediation
- Upgrade to pgAdmin 4 version 9.19 or later; until then, explicitly configure password files, client certificates, and keys for each server entry in pgAdmin to prevent fallback to the service account's credentials.
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD description
When a server in pgAdmin 4 had no password file, client certificate or client key configured, or the configured one could not be found, pgAdmin left the parameter out of the connection and libpq fell back to the defaults of the operating-system account running pgAdmin: ~/.pgpass, ~/.postgresql/postgresql.crt and postgresql.key, or PGPASSFILE, PGSSLCERT and PGSSLKEY. In server mode any user could therefore connect to a server with the service account's saved passwords or client certificate, and supplying only a copy of its public certificate was enough for libpq to pair it with the service account's private key. A pg_service.conf entry, or a maintenance database name read as a connection string by pg_dumpall, could bring the same files back for the utilities. The fix gives each of these parameters a value in server mode, the user's own file or otherwise a path that can never be opened, in the connection string, in the environment of the utilities and in the --dbname connection string that ranks above a service entry. Desktop mode is unchanged. This issue affects pgAdmin 4: before 9.19.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
Weaknesses
CWE-522, CWE-1188
Vendors
pgadmin
Products
pgadmin 4
Public exploit & PoC references
All references
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- HIGHCVE-2026-116245PoC
- HIGHCVE-2026-17643
- HIGHCVE-2026-115413PoC
- HIGHCVE-2026-116249PoC
- HIGHCVE-2026-17644
- HIGHCVE-2026-47571PoC
- MEDIUMCVE-2026-49004
- HIGHCVE-2026-84414
Related by shared AI tags and CWE weakness class. Browse the full archive.