{"schemaVersion":3,"id":"CVE-2026-49446","aliases":["GHSA-2rx5-2g7j-2659","GO-2026-6123"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-09-15T14:31:24.778Z","modified":"2026-09-15T14:50:54.216Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.1,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","exploitability":2.3,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00299,"percentile":0.21394,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.013999999999999993,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00285},"history":[{"date":"2026-09-16T00:00:00.000Z","score":0.00285,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00285,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00285,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00285,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00285,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00285,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00285,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00285,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00299,"percentile":0.21394}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00285,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00285,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00285,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00299,"percentile":0.21394}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-285","name":"Improper Authorization","description":"The product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/285.html"},{"id":"CWE-290","name":"Authentication Bypass by Spoofing","description":"This attack-focused weakness is caused by incorrectly implemented authentication schemes that are subject to spoofing attacks.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/290.html"}],"affected":[{"vendor":"azukaar","product":"cosmos-server","name":"Cosmos-Server","label":"cosmos-server","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.22.19","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.22.19","eol":null,"hubHref":"/vendor/azukaar/cosmos-server"},{"vendor":"github.com/azukaar","product":"cosmos-server","name":"github.com/azukaar/cosmos-server","label":"cosmos-server","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/azukaar/cosmos-server","purlType":"golang","versions":[{"text":"< 0.22.19","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.22.19","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/azukaar/Cosmos-Server/security/advisories/GHSA-2rx5-2g7j-2659","label":"github.com/azukaar/Cosmos-Server/security/advisories/GHSA-2rx5-2g7j-2659","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory"]},{"url":"https://github.com/azukaar/Cosmos-Server/commit/59c561d686c8f9843b3e092b50f6346c481d8bbf","label":"github.com/azukaar/Cosmos-Server/commit/59c561d686c8f9843b3e092b50f6346c481d8bbf","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/azukaar/Cosmos-Server/releases/tag/v0.22.19","label":"github.com/azukaar/Cosmos-Server/releases/tag/v0.22.19","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/azukaar/Cosmos-Server","label":"github.com/azukaar/Cosmos-Server","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:21761-1","SUSE-SU-2026:23625-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:21761-1","SUSE-SU-2026:23625-1"]},"timeline":[{"kind":"published","date":"2026-09-15T14:31:24.778Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-09-15T14:50:54.216Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":24,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T10:10:40.634Z","stale":false,"partial":false}}