{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-49446","id":"CVE-2026-49446","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 ","descriptionLong":"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.","published":"2026-09-15T14:31:24.778Z","updated":"2026-10-28T02:30:52.116462579Z","reserved":"2026-05-30T02:43:33.106Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["azukaar Cosmos-Server"],"affectedProducts":[{"vendor":"azukaar","product":"Cosmos-Server","defaultStatus":null,"versions":[{"version":"< 0.22.19","status":"affected"}],"platforms":[]}],"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"],"advisory":"GHSA-2rx5-2g7j-2659"}],"cwes":["CWE-285","CWE-290"],"aliases":["GHSA-2rx5-2g7j-2659","GO-2026-6123"],"references":[{"url":"https://github.com/azukaar/Cosmos-Server/security/advisories/GHSA-2rx5-2g7j-2659","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/azukaar/Cosmos-Server/commit/59c561d686c8f9843b3e092b50f6346c481d8bbf","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/azukaar/Cosmos-Server/releases/tag/v0.22.19","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49446.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49446","tags":["advisory"]},{"url":"https://github.com/azukaar/Cosmos-Server","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.00299,"epssPercentile":0.23045,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-49446","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49446","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-49446","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-2rx5-2g7j-2659","ok":true,"note":"GHSA-2rx5-2g7j-2659"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-49446","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}