Cosmos: Authentication bypass via forward-auth header smuggling on Constellation tunnel in Cosmos-Server
Key facts
- Attack vector
- Adjacent network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-285.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| azukaar | Cosmos-Server | before 0.22.19 | 0.22.19 | Patch available | CNA |
| — | github.com/azukaar/cosmos-server (Go) | before 0.22.19 | 0.22.19 | Patch available | GHSA-2rx5-2g7j-2659 |
- Cosmos-Server Vendorazukaar Affected before 0.22.19 Fixed in 0.22.19 Patch available CNA
- github.com/azukaar/cosmos-server (Go) Vendor— Affected before 0.22.19 Fixed in 0.22.19 Patch available GHSA-2rx5-2g7j-2659
Remediation
- Fix · CNA Cosmos-Server (azukaar) Fixed in 0.22.19
- Fix · GHSA-2rx5-2g7j-2659 github.com/azukaar/cosmos-server (Go) Fixed in 0.22.19 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2026-49446
- 2026-10-03 Alias added: GHSA-2rx5-2g7j-2659
- 2026-11-06 Affected versions changed · Red Hat
- 2026-11-06 CVSS score added · Red Hat
References
More azukaar vulnerabilities
- TI-2025-16999 Cosmos userbase checking vulnerability CVSS 4.0MEDIUM 6.9
- TI-2026-36602 Cosmos-Server's constellation public-devices endpoint accepts arbitrary bearer tokens CVSS 3.1MEDIUM 5.3
Sources
- CVE-2026-49446 · CVE Program
- CVE-2026-49446 · NVD
- FIRST EPSS
- GHSA-2rx5-2g7j-2659 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-49446 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences