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

CVE-2026-49447: Cosmos-Server's constellation public-devices endpoint accepts arbitrary bearer tokens

July 28, 2026

GET /cosmos/api/constellation/public-devices discloses Constellation device metadata to a requester that supplies any non-empty Authorization header. The handler strips the string Bearer from the header but never validates the resulting token and never uses it in the database query.

This was confirmed locally by routing a request through the real tokenMiddleware with Authorization: Bearer not-a-real-token. The request returned public Constellation device metadata from a disposable fixture. A missing-header negative control returned 401 Unauthorized, proving the bypass is specifically the acceptance of arbitrary bearer values.

References

  • github.com/advisories/GHSA-5fqm-cc34-fcf5
  • github.com/azukaar/Cosmos-Server/commit/59c561d686c8f9843b3e092b50f6346c481d8bbf
  • github.com/azukaar/Cosmos-Server/releases/tag/v0.22.19
  • github.com/azukaar/Cosmos-Server/security/advisories/GHSA-5fqm-cc34-fcf5
  • nvd.nist.gov/vuln/detail/CVE-2026-49447

Code Behaviors & Features

Detect and mitigate CVE-2026-49447 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 starting from 0.22.18 before 0.22.19

Fixed versions

  • 0.22.19

Solution

Upgrade to version 0.22.19 or above.

Impact 5.3 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-287: Improper Authentication

Source file

go/github.com/azukaar/cosmos-server/CVE-2026-49447.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:17 +0000.