Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-116252
VULNERABILITY

CVE-2026-116252

Common Vulnerabilities and Exposures record

HIGH

Summary

pgAdmin 4's materialized view refresh passed the target database's name to psql's --dbname argument unchanged. libpq treats a --dbname value containing "=" (or a postgresql:// URI) as a full connection string, whose keywords override the host, port and other settings pgAdmin had supplied. A database whose name is such a string, which any role with CREATEDB can create, therefore redirected the psql process pgAdmin starts for the refresh to a host and port of the creator's choosing, and the connecting user's saved server password was presented to that endpoint. It also let the pgAdmin host be made to open connections to arbitrary addresses. The same weakness was fixed for Backup, Restore, Maintenance and Import/Export Data in earlier releases (CVE-2026-86862); the materialized view refresh was the remaining caller. The fix routes the name through the same database_conninfo() helper, so libpq treats it strictly as a database name. This issue affects pgAdmin 4: before 9.19.

Risk

CVSS
7.1
Severity
HIGH
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Timeline

Published
Oct 30, 2026 20:17
Modified
Nov 6, 2026 16:17
Last observed
Nov 6, 2026 12:00

CWE

CWE-88CWE-522CWE-918

Affected product identifiers

cpe:2.3:a:pgadmin:pgadmin_4:*:*:*:*:*:*:*:*

References