Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2026-86863
pgadmin pgadmin 4

Score9.3 Critical
CVSS 4.0
Exploit probability (EPSS)0.58%
within the next 30 days
CategoryAuthentication & session
Published17 September 2026
Last modified: 21 September 2026

In short

This vulnerability can be exploited remotely over the network, without logging in, without any user interaction.

A successful attack has high impact: reading confidential data, modifying data, crashing the system or making it unavailable.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

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.

CVSS: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/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

Weakness: CWE-290, CWE-807

Affected products

VendorProductVersions
pgadminpgadmin 4>=6.2 <9.18

Sources

Latest in the same category

  • CVE-2026-139894 Medium 5.3
    A vulnerability was found in davila7 claude-code-templates up to 1.29.6. The affected element is an unknown function of the file cli-tool/src/claude-api-proxy.js of the component Claude API proxy. Performing a…
    Authentication & session · 1 December 2026
  • CVE-2026-140123 Medium 6.3
    changedetection.io before 0.71.1 contains a missing authentication vulnerability in the static_content handler that allows unauthenticated attackers to access watch data when the password is set via SALTED_PASS.…
    Authentication & session · 1 December 2026
  • CVE-2026-90958 Critical 9.1
    A flaw was found in FreeIPA. When AD-trust/SMB support is enabled, SMB/NTLM authentication does not increment the account-lockout failure counter used by Kerberos authentication, allowing an attacker to make unlimited…
    Authentication & session · 30 November 2026
  • CVE-2026-108122 Critical 9.8
    A flaw was found in FreeIPA. When NT hash generation is disabled, the `ipaNTHash` attribute written on the next password change is a predictable all-zero value instead of being left unset. FreeIPA's Samba passdb…
    Authentication & session · 30 November 2026
  • CVE-2026-128967 High 7
    The ldap-auth and ldap-auth-advanced plugins in Kong Gateway Enterprise and Kong AI Gateway key their credential cache without the TLS settings, allowing a man-in-the-middle attacker to have credentials validated…
    Authentication & session · 30 November 2026
  • CVE-2026-139818 Medium 5.3
    A weakness has been identified in vllm-project vLLM up to 0.34.0. The impacted element is the function ProcessorInputs.get_mm_hashes of the file vllm/multimodal/processing/inputs.py of the component Multimodal…
    Authentication & session · 30 November 2026