@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.
References
Configurations
No configuration.
History
25 Oct 2026, 17:10
| Type | Values Removed | Values Added |
|---|---|---|
| Summary |
|
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
