Live › vulnerability › CVE-2026-116252
pgAdmin 4 passed a target database's name unchanged to psql's --dbname argument, so a name containing a connection string could redirect the refresh to an attacker-chosen host and port. The connecting user's saved server password could then be sent to that endpoint, and the pgAdmin host could be made to open connections to arbitrary addresses.
Summary written from the sources below. Check the originals before acting.
First seen by InfraStack 2026-10-30 20:25 UTC. All times on this page are UTC.
pgAdmin 4 installs before 9.19 are affected when a materialized view refresh runs against a database whose name can be set by a role with CREATEDB. The sources say the earlier Backup, Restore, Maintenance and Import/Export paths were already fixed in earlier releases, so this is the remaining caller. Teams that do not run pgAdmin 4 can skip it.
No product ranges from the sources yet.
9.19 are affected.9.19 or later (the sources state the fix is in releases from 9.19).Each row is the first time that source carried this signal. The analyst’s rows are its own findings.
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.
This page as .md · .json · in your agent: get_signal("CVE-2026-116252")
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.