CVE-2026-116252Pgadmin 4 argument injection
CVSS score
7.1
High
CVSS 4.0 from f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
Exploit probability (EPSS)
0.26%
0.26% chance of exploitation in the next 30 days, higher than 18.3% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
How to fix it, step by step
Check whether you're affected
Find every system running Pgadmin 4 and compare its version with the affected versions.
Update to a fixed version
- Update Pgadmin 4 to 9.19 or later.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- Low
- User interaction
- None
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. 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
Affected products
| Affected products | Versions |
|---|---|
| pgadmin Pgadmin 4 | < 9.19 |
| pgadmin.org PgAdmin 4 | < 9.19 |
Weakness
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-116252 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.3% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-116252?
CVE-2026-116252 has a CVSS 4.0 base score of 7.1 (high).
Which versions are affected?
Pgadmin Pgadmin 4 (< 9.19), Pgadmin Org PgAdmin 4 (< 9.19)
Is there a patch for CVE-2026-116252?
The official record links to vendor advisories or patches; see “What to do” above.
References
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.