{"id":"CVE-2026-49446","revision":"7104950d59894e8bbde142e11d871732","records":[{"revision":"7104950d59894e8bbde142e11d871732","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-49446","aliases":[],"title":"Cosmos: Authentication bypass via forward-auth header smuggling on Constellation tunnel in Cosmos-Server","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.","state":0,"publishedAt":"2026-09-15T14:31:24.778+00:00","modifiedAt":"2026-09-15T14:50:54.216+00:00","affected":[{"ecosystem":"Vendor product","name":"Cosmos-Server","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"azukaar\",\n                    \"product\": \"Cosmos-Server\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 0.22.19\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","score":6.1,"severity":"MEDIUM"}],"references":["https://github.com/azukaar/Cosmos-Server/security/advisories/GHSA-2rx5-2g7j-2659","https://github.com/azukaar/Cosmos-Server/commit/59c561d686c8f9843b3e092b50f6346c481d8bbf","https://github.com/azukaar/Cosmos-Server/releases/tag/v0.22.19"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-49446","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-49446","identifiers":["CVE-2026-49446"]},"retained":false,"historicalAffected":[]}],"coverage":[]}