{"id":"CVE-2026-49446","published":"2026-09-15T14:31:24Z","modified":"2026-09-15T14:50:54Z","title":"Cosmos: Authentication bypass via forward-auth header smuggling on Constellation tunnel in Cosmos-Server","vendor":"azukaar","product":"Cosmos-Server","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00299,"percentile":0.23177,"provenance":"source"},"cwes":[{"id":"CWE-285","name":"Improper Authorization"},{"id":"CWE-290","name":"Authentication Bypass by Spoofing"}],"references":[{"url":"https://github.com/azukaar/Cosmos-Server/security/advisories/GHSA-2rx5-2g7j-2659","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/azukaar/Cosmos-Server/commit/59c561d686c8f9843b3e092b50f6346c481d8bbf","tags":["x_refsource_MISC"]},{"url":"https://github.com/azukaar/Cosmos-Server/releases/tag/v0.22.19","tags":["x_refsource_MISC"]}],"priority":{"score":8.9,"factors":[{"name":"EPSS percentile","points":4.64},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"azukaar","affectedVersions":[{"vendor":"azukaar","product":"Cosmos-Server","versions":["< 0.22.19"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-09-15T14:50:32.130417Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/azukaar/cosmos-server","vulnerableRanges":["<0.22.19"],"patched":["0.22.19"],"from":["GHSA-2rx5-2g7j-2659","GO-2026-6123"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-78588","exploited":false,"provenance":"source"}}