CVE-2026-49446
Published:July 28, 2026
Updated:August 27, 2026
The Constellation-tunnel bypass branch in "tokenMiddleware" at "src/proxy/routerGen.go:53-66" returns to the upstream handler before the request's "x-cosmos-user", "x-cosmos-role", "x-cosmos-user-role", and "x-cosmos-mfa" headers are stripped at lines 68-72, and before the "AdminOnlyWithRedirect" gate at lines 109-117 runs. Any holder of a valid Constellation device API key sends "x-cosmos-user: admin" to a proxied backend; the documented forward-auth integration treats the caller as admin with no JWT cookie, password, or MFA.
Affected Packages
https://github.com/azukaar/Cosmos-Server.git (GITHUB):
Affected version(s) >=v0.22.0 <v0.22.19Fix Suggestion:
Update to version v0.22.19github.com/azukaar/cosmos-server (GO):
Affected version(s) >=v0.0.0-20260716075852-5a0ece238baf <v0.22.19Fix Suggestion:
Update to version v0.22.19Related Resources (3)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.4
Attack Vector
ADJACENT
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
HIGH
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.1
Attack Vector
ADJACENT
Attack Complexity
LOW
Privileges Required
HIGH
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE