CVE-2026-58399
WysokieCVSS 8.7Prawdopodobieństwo exploitacji (EPSS)
Niskie ryzykoPercentyl 42 — wyżej niż 42% wszystkich znanych CVE
Streszczenie
Podatność w systemie uwierzytelniania @acastellon/auth dla mikrousług pozwala nieuwierzytelnionemu atakującemu ominąć walidację tokena poprzez spreparowane nagłówki HTTP auth-user i Host. Problem występuje w funkcji validateToken() przed wersją 2.3.0.
Ocena ryzyka
Atakujący może uzyskać nieautoryzowany dostęp do chronionych mikrousług, podszywając się pod zaufanego klienta (service-brother), co prowadzi do naruszenia poufności i integralności danych.
Rekomendacja
Należy niezwłocznie zaktualizować bibliotekę @acastellon/auth do wersji 2.3.0 lub nowszej, która zawiera poprawkę eliminującą możliwość ominięcia walidacji tokena.
Oryginalny opis (angielski, źródło NVD)
@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.

