Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/azukaar/cosmos-server
  4. ›
  5. CVE-2026-49446

CVE-2026-49446: Cosmos-Server has an authentication bypass via forward-auth header smuggling on Constellation tunnel

July 28, 2026

The Constellation-tunnel bypass branch in tokenMiddleware at src/proxy/routerGen.go:53-66 returns to the upstream handler before the request’s x-cosmos-user, x-cosmos-role, x-cosmos-user-role, and x-cosmos-mfa headers are stripped at lines 68-72, and before the AdminOnlyWithRedirect gate at lines 109-117 runs. Any holder of a valid Constellation device API key sends x-cosmos-user: admin to a proxied backend; the documented forward-auth integration treats the caller as admin with no JWT cookie, password, or MFA.

References

  • github.com/advisories/GHSA-2rx5-2g7j-2659
  • github.com/azukaar/Cosmos-Server/releases/tag/v0.22.19
  • github.com/azukaar/Cosmos-Server/security/advisories/GHSA-2rx5-2g7j-2659
  • nvd.nist.gov/vuln/detail/CVE-2026-49446

Code Behaviors & Features

Detect and mitigate CVE-2026-49446 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.22.19

Fixed versions

  • 0.22.19

Solution

Upgrade to version 0.22.19 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-285: Improper Authorization
  • CWE-290: Authentication Bypass by Spoofing

Source file

go/github.com/azukaar/cosmos-server/CVE-2026-49446.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:17:57 +0000.