CVE-2026-58399: Vulnerability in @acastellon/auth

Critical. @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...

npm, CWE-290, CWE-287

Exploitation
None confirmed
Severity
9.3 of 10
Attack likelihood
0.5 % in 30 days
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-gfj5-979r-92pw
EU ID
EUVD-2026-41013
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Weakness
CWE-290, CWE-287
Published
18 Jun 2026
Last change
25 Oct 2026
Likelihood rank
Higher than 47 % of all rated vulnerabilities
Analysis status
Deferred
Ecosystem
npm

Affected packages

Vulnerable version ranges and fixed releases

  • @acastellon/auth npm, Affected before 2.3.0. Fixed in 2.3.0

Advisories

Vendor and security advisories