{"cve":"CVE-2026-49446","nvd":{"published":"2026-09-15T15:17:16.747","modified":"2026-09-30T17:51:56.193","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"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},"cwes":["CWE-285","CWE-290"],"references":["https://github.com/azukaar/Cosmos-Server/commit/59c561d686c8f9843b3e092b50f6346c481d8bbf","https://github.com/azukaar/Cosmos-Server/releases/tag/v0.22.19","https://github.com/azukaar/Cosmos-Server/security/advisories/GHSA-2rx5-2g7j-2659","https://github.com/azukaar/Cosmos-Server/security/advisories/GHSA-2rx5-2g7j-2659"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:53:43.293028046+00:00"},"epss":{"cve":"CVE-2026-49446","score":0.00299,"percentile":0.22397,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-2rx5-2g7j-2659","url":"https://osv.dev/vulnerability/GHSA-2rx5-2g7j-2659","summary":"Cosmos-Server has an authentication bypass via forward-auth header smuggling on Constellation tunnel","modified":"2026-08-18T15:10:52.376331295Z","packages":[{"ecosystem":"Go","name":"github.com/azukaar/cosmos-server","purl":"pkg:golang/github.com/azukaar/cosmos-server","ranges":["<0.22.19"],"fixed":["0.22.19"]}]},{"id":"GO-2026-6123","url":"https://osv.dev/vulnerability/GO-2026-6123","summary":"Cosmos-Server has an authentication bypass via forward-auth header smuggling on Constellation tunnel in github.com/azukaar/cosmos-server","modified":"2026-08-18T15:00:20.353619088Z","packages":[{"ecosystem":"Go","name":"github.com/azukaar/cosmos-server","purl":"pkg:golang/github.com/azukaar/cosmos-server","ranges":["<0.22.19"],"fixed":["0.22.19"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}