CVE-2026-49446
published medium CVSS 3.1 · 6.1Cosmos: Authentication bypass via forward-auth header smuggling on Constellation tunnel in Cosmos-Server
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| azukaar | — | Cosmos-Server< 0.22.19 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.1 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| azukaar | Cosmos-Server | < 0.22.19 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-285 CWE-285: Improper Authorization
- CWE-290 CWE-290: Authentication Bypass by Spoofing
References
3Provider assertions
2GitHub_M · cna
Cosmos: Authentication bypass via forward-auth header smuggling on Constellation tunnel in Cosmos-Server
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 335c4eceed7e2de3b8e912e5a75ae4b913c23ebf38c8574e4c4d5a0ede45c175
- Ingested
- 23 Sep 2026, 09:17:57 UTC
- Source record
- Official CVE record