CVE-2026-116252

published 30 Oct 2026 · updated 6 Nov 2026

pgAdmin 4: Materialized view refresh redirects its connection through a crafted database name

6.5MediumCVSS 6.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 9.19.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
pgadminpgadmin_4<9.199.19
pgadmin.org<9.199.19

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-116252 severity on Zeptric[![CVE-2026-116252](https://zeptric.io/badge/cve/CVE-2026-116252.svg)](https://zeptric.io/cve/CVE-2026-116252)