PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-116252 pgAdmin CVE debrief

CVE-2026-116252 is a high-severity vulnerability in pgAdmin 4, a popular open-source administration and management tool for PostgreSQL databases. The issue arises from the materialized view refresh feature, which passes the target database's name to psql's --dbname argument without proper sanitization. This allows a malicious database name to be treated as a full connection string, potentially redirecting the psql process to a host and port chosen by an attacker. The vulnerability requires authentication and could allow an attacker to access sensitive information, such as saved server passwords.

Vendor
pgAdmin
Product
pgAdmin 4
CVSS
HIGH 7.1
CISA KEV
Not listed in stored evidence
Original CVE published
2026-10-30
Original CVE updated
2026-11-06
Advisory published
2026-10-30
Advisory updated
2026-11-06

Who should care

Defenders managing PostgreSQL databases with pgAdmin 4, especially in environments with elevated privileges or sensitive data, should assess exposure and prioritize patching or mitigation.

Why it matters

CVE-2026-116252 is a high-severity vulnerability in pgAdmin 4's materialized view refresh feature, allowing potential redirection of the psql process to attacker-chosen endpoints. Defenders managing PostgreSQL databases with pgAdmin 4 should assess exposure and prioritize patching or mitigation.

  • Potential exposure of saved server passwords to attacker-controlled endpoints
  • Possible unauthorized access to sensitive database information
  • Redirect of psql process to arbitrary hosts and ports
  • Verification of patch deployment and configuration changes required

Technical summary

The materialized view refresh feature in pgAdmin 4 passes the target database's name to psql's --dbname argument without proper sanitization. This allows a malicious database name to be treated as a full connection string, potentially redirecting the psql process to a host and port chosen by an attacker. The vulnerability requires authentication and could allow an attacker to access sensitive information, such as saved server passwords, if the attacker can create a database with a malicious name. Defenders managing PostgreSQL databases with pgAdmin 4 should assess exposure and prioritize patching or mitigation, especially in environments with elevated privileges or sensitive data.

Defensive priority

Defenders should prioritize patching or mitigating this vulnerability, especially in environments where pgAdmin 4 is used to manage sensitive databases or with elevated privileges.

Recommended defensive actions

  • Patch pgAdmin 4 to version 9.19 or later
  • Restrict access to pgAdmin 4 to trusted users and networks
  • Monitor pgAdmin 4 logs for suspicious activity
  • Verify patch deployment and configuration changes
  • Review compensating controls for exposed systems
  • Check relevant monitoring, detection, and logs for exposed assets
  • Track exceptions and retest remediated assets

Evidence notes

The vulnerability is caused by the materialized view refresh feature passing the target database's name to psql's --dbname argument without proper sanitization. This allows a malicious database name to be treated as a full connection string, potentially redirecting the psql process to a host and port chosen by an attacker.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-116252 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-116252

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-116252 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-116252

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://github.com/pgadmin-org/pgadmin4/commit/a1a43e8c28cf10cec73df0c476905562d19af483

    f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 - Patch

  • Source reference

    Unverified legacy reference

    URL: https://github.com/pgadmin-org/pgadmin4/issues/10645

    f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 - Issue Tracking

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.