CVE-2026-58399

@acastellon/auth is an authentication control system for microservices. Versions prior to 2.3.0 appear to allow an unauthenticated authentication bypass in validateToken() through spoofable auth-user and Host request headers. The validateToken middleware contains a service-to-service bypass for auth-user: service-brother when req.get('host').startsWith(getHostName()). Both values involved in the check can be influenced by an unauthenticated HTTP client: auth-user is a request header, and Host is also client-controlled. As a result, a remote unauthenticated attacker can send a request with crafted headers and bypass token validation before the normal legacy/JWT/OIDC validation logic runs. A fix has been implemented in v2.3.0.
CVSS

No CVSS.

Configurations

No configuration.

History

25 Oct 2026, 17:10

Type Values Removed Values Added
Summary
  • (es) @acastellon/auth es un sistema de control de autenticación para microservicios. Las versiones anteriores a la 2.3.0 parecen permitir una omisión de autenticación no autenticada en validateToken() a través de encabezados de solicitud auth-user y Host falsificables. El middleware validateToken contiene una omisión de servicio a servicio para auth-user: service-brother cuando req.get(’host’).startsWith(getHostName()). Ambos valores involucrados en la verificación pueden ser influenciados por un cliente HTTP no autenticado: auth-user es un encabezado de solicitud, y Host también es controlado por el cliente. Como resultado, un atacante remoto no autenticado puede enviar una solicitud con encabezados manipulados y omitir la validación del token antes de que se ejecute la lógica de validación normal de legacy/JWT/OIDC. Se ha implementado una solución en la v2.3.0.

01 Jul 2026, 15:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-01 15:17

Updated : 2026-10-25 17:10


NVD link : CVE-2026-58399

Mitre link : CVE-2026-58399

CVE.ORG link : CVE-2026-58399


JSON object : View

Products Affected

No product.

CWE
CWE-287

Improper Authentication