Security mailing lists by PureSourceCode

CVE-2026-49446

MEDIUM 6.1CVSS 3.1

Cosmos-Server has an authentication bypass via forward-auth header smuggling on Constellation tunnel

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
15 Sep 2026
Last modified
30 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-285CWE-290
Also known as
GHSA-2rx5-2g7j-2659GO-2026-6123
Sources
NVDJSONOSV GHSA-2rx5-2g7j-2659JSONOSV GO-2026-6123JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go github.com/azukaar/cosmos-server < 0.22.19 0.22.19

References

History

  • 25 Nov 2026 21:05 UTC · NVD: first stored (published 15 Sep 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 Aug 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 28 Jul 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.