StraitOfVuln
Latest / CVE-2026-116252

CVE-2026-116252

MediumCVSS 6.5 (v3.1)Analyzed
CVE.org ↗NVD ↗

Description

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.

Details

CVE ID
CVE-2026-116252
Published / updated
30 Oct 2026, 20:17 UTC · last modified 06 Nov 2026, 16:17 UTC
Severity
MEDIUM
CVSS score
6.5 · v3.1 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N · Attack vector: Network
Affected vendor
Affected products
Pgadmin 4
Affected versions
Pgadmin 4: < 9.19
Fixed versions
pgadmin 4 9.19
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.32% probability of exploitation in the next 30 days · 27% percentile (03 Dec 2026)
Weakness
Remediation
Upgrade to a fixed release (pgadmin 4 9.19) per the vendor advisory.
Source (CNA)
f86ef6dc-4d3a-42ad-8f28-e6d5547a5007