Amenazas en vivo

Todas las CVE / Pgadmin

CVE-2026-86863Pgadmin 4

Autenticación de servidor web insegura en pgAdmin 4

Crítica 9.3 Sin autenticación

Prioridad
71
CVSS 4.0
9.3
EPSS
—
Requiere autenticación
No
Publicada
17 sep 2026
Actualizada
21 sep 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-290, CWE-807
SSVC (CISA)
Explotación: ninguna · Automatizable: sí · Impacto técnico: total
Vector
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

Qué pasa

pgAdmin 4 versiones 6.2 a 9.17 aceptan identidades de usuario desde encabezados HTTP sin validación adecuada cuando la autenticación de servidor web está habilitada. Un atacante sin autenticación puede suplantar cualquier usuario, incluidos administradores, enviando encabezados HTTP manipulados directamente a pgAdmin.

Ver el texto original de NVD (en inglés)

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.

Texto de la fuente, sin modificar. NVD.

Qué hacer

Hay parche · versiones corregidas: 9.18

Actualiza pgAdmin 4 a versión 9.18 o superior. Si no puedes actualizar, deshabilita la autenticación de servidor web en AUTHENTICATION_SOURCES.

Aviso del fabricante · github.com ↗

  1. Aplica la actualización de seguridad del fabricante para Pgadmin 4.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Productos afectados (CPE)

FabricanteProductoVersiones
pgadminpgadmin_4≥ 6.2 < 9.18

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.