Katalog CVE

CVE-2026-49446

ŚrednieCVSS 6.1
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.30%

Percentyl 20 - wyżej niż 20% wszystkich znanych CVE

Streszczenie

W Cosmos przed wersją 0.22.19 funkcja tokenMiddleware w src/proxy/routerGen.go może powrócić przez obejście tunelu Constellation przed usunięciem nagłówków x-cosmos-user, x-cosmos-role, x-cosmos-user-role i x-cosmos-mfa oraz przed wywołaniem AdminOnlyWithRedirect. Atakujący z ważnym kluczem API x-cstln-auth dla zarejestrowanego urządzenia, który dotrze do Cosmos przez tunel Constellation Nebula, może podać wybraną wartość x-cosmos-user do trasy z włączonym AuthEnabled, gdy aplikacja nadrzędna ufa temu nagłówkowi forward-auth.

Ocena ryzyka

Żądanie może ominąć kontrole JWT, hasła, MFA i AdminOnly w Cosmos, umożliwiając podszycie się pod użytkownika oraz odczyt lub zapis na poziomie administratora w aplikacji proxy.

Rekomendacja

Zaktualizuj Cosmos do wersji 0.22.19, w której problem został naprawiony.

Inne podatności w Cosmos

Oryginalny opis (angielski, źródło NVD)

Cosmos provides users the ability self-host a home server by acting as a secure gateway to your application, as well as a server manager. Prior to 0.22.19, tokenMiddleware in src/proxy/routerGen.go can return through the Constellation tunnel bypass before removing x-cosmos-user, x-cosmos-role, x-cosmos-user-role, and x-cosmos-mfa headers and before invoking AdminOnlyWithRedirect. An attacker with a valid x-cstln-auth API key for an enrolled device who reaches Cosmos through the Constellation Nebula tunnel can supply a chosen x-cosmos-user value to a route with AuthEnabled enabled when the upstream application trusts that forward-auth header. The request can bypass Cosmos JWT, password, MFA, and AdminOnly checks, allowing user impersonation and admin-tier reads or writes exposed by the proxied application. This issue is fixed in version 0.22.19.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS