CVE-2026-86863 in Pgadmin 4
pgAdmin 4's Webserver authentication source is intended to accept an identity asserted by the web server or reverse proxy in front of pgAdmin, delivered through the WSGI/CGI environment. WebserverAuthentication.get_user() read config.WEBSERVER_REMOTE_USER from request.environ and, when that returned nothing, fell ba...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Pgadmin | Pgadmin 4 | ≥ 6.2, < 9.18 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
pgAdmin 4's Webserver authentication source is intended to accept an identity asserted by the web server or reverse proxy in front of pgAdmin, delivered through the WSGI/CGI environment. WebserverAuthentication.get_user() read config.WEBSERVER_REMOTE_USER from request.environ and, when that returned nothing, fell back to reading the same name directly from the inbound HTTP request headers via request.headers.get(). An inbound HTTP header is written by whoever sends the request, so any client able to reach pgAdmin could supply that header itself and be authenticated as any username it named, including an existing Administrator, without presenting a password or any other credential. The environment lookup could also be satisfied by a client-supplied header whenever WEBSERVER_REMOTE_USER was configured to an HTTP_-prefixed or hyphenated name such as HTTP_X_FORWARDED_USER or X-Forwarded-User, since WSGI servers place inbound headers into the environment under exactly those names. Deployments are affected only when 'webserver' is enabled in AUTHENTICATION_SOURCES. The fix distinguishes a genuine CGI/WSGI variable from a header-derived one and implicitly trusts only the former. A header-asserted identity is now accepted only when the operator explicitly opts in via WEBSERVER_REMOTE_USER_FROM_HEADER, the request arrives from a peer listed in WEBSERVER_TRUSTED_PROXIES, and, when configured, a shared secret supplied in WEBSERVER_SHARED_SECRET_HEADER matches WEBSERVER_SHARED_SECRET under a constant-time comparison. The trusted-peer check deliberately reads the real socket peer address rather than request.remote_addr, because ProxyFix rewrites the latter from the client-controlled X-Forwarded-For header and would otherwise allow an attacker to claim to be the trusted proxy. As defence in depth, login() now refuses any account whose auth_source is not 'webserver', so a misconfigured trust gate cannot be used to assume an internal or LDAP account. This issue affects pgAdmin 4: from 6.2 before 9.18.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-86863 |
|---|---|
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2026-09-17 |
| Last modified | 2026-09-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-290: CWE-290
CWE-807: CWE-807
Related attack patterns (CAPEC)
CAPEC-59 Session Credential Falsification through Prediction via CWE-290
CAPEC-60 Reusing Session IDs (aka Session Replay) via CWE-290
CAPEC-459 Creating a Rogue Certification Authority Certificate via CWE-290
CAPEC-476 Signature Spoofing by Misrepresentation via CWE-290
CAPEC-667 Bluetooth Impersonation AttackS (BIAS) via CWE-290
Show all 10
CAPEC-461 Web Services API Signature Forgery Leveraging Hash Function Extension Weakness via CWE-290
CAPEC-473 Signature Spoof via CWE-290
CAPEC-21 Exploitation of Trusted Identifiers via CWE-290
CAPEC-22 Exploiting Trust in Client via CWE-290
CAPEC-94 Adversary in the Middle (AiTM) via CWE-290
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A critical severity vulnerability (CVE-2026-86863) affects the target system. pgAdmin 4's Webserver authentication source is intended to accept an identity asserted by the web server or reverse proxy in front of pgAdmin, delivered through the WSGI/CGI environment. WebserverAuthentication.get_user() read config.WEBSERVER_REMOTE...
Questions
What is CVE-2026-86863?
A critical severity vulnerability (CVE-2026-86863) affects the target system. pgAdmin 4's Webserver authentication source is intended to accept an identity asserted by the web server or reverse proxy in front of pgAdmin, delivered through the WSGI/CGI environment. WebserverAuthentication.get_user() read config.WEBSERVER_REMOTE...
What is the CVSS score for CVE-2026-86863?
CVE-2026-86863 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.6%.
Is CVE-2026-86863 actively exploited?
No confirmed active exploitation of CVE-2026-86863 as of 2026-09-25.
How do I remediate CVE-2026-86863?
Apply vendor patches for CVE-2026-86863. Monitor Pgadmin advisories.
What systems are affected by CVE-2026-86863?
CVE-2026-86863 affects Pgadmin Pgadmin 4.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Pgadmin","product":"Pgadmin 4","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-09-21.