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.
Published: 2026-07-28
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Cosmos-Server version 0.22.18 improperly handles bearer tokens on the GET /cosmos/api/constellation/public-devices endpoint; any non-empty Authorization header is accepted, the token is stripped but never validated, allowing an attacker to retrieve Constellation device metadata without authenticating. This results in sensitive data exposure such as device identifiers and connectivity information, corresponding to CWE-287 – Improper Authentication.

Affected Systems

The affected product is Cosmos-Server by azukaar, specifically version 0.22.18. All later releases, beginning with 0.22.19, contain the fix.

Risk and Exploitability

The CVSS score is 5.3, indicating moderate severity. The EPSS score is below 1 %, showing a low probability of exploitation in the general population, and the vulnerability is not listed in the CISA KEV catalog. Because any observer with network access to the public endpoint can send a request with an arbitrary Authorization header, exploitation is trivial and requires no special credentials. The attack vector is remote and the impact is limited to leaking device metadata, but the exposure of such data can aid further reconnaissance or privacy‑violation attacks.

Generated by OpenCVE AI on August 3, 2026 at 14:17 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Cosmos-Server to v0.22.19 or later.
  • Rotate or revoke any bearer tokens issued before the patch to prevent reuse.
  • Restrict network exposure of the /cosmos/api/constellation/public-devices endpoint by implementing IP filtering or firewall rules to limit access to trusted hosts.

Generated by OpenCVE AI on August 3, 2026 at 14:17 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-5fqm-cc34-fcf5 Cosmos-Server's constellation public-devices endpoint accepts arbitrary bearer tokens
History

Wed, 29 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
First Time appeared Azukaar
Azukaar cosmos-server
Vendors & Products Azukaar
Azukaar cosmos-server

Wed, 29 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 28 Jul 2026 21:00:00 +0000

Type Values Removed Values Added
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.
Title Cosmos-Server's constellation public-devices endpoint accepts arbitrary bearer tokens
Weaknesses CWE-287
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'}


Subscriptions

Azukaar Cosmos-server
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-29T13:36:42.108Z

Reserved: 2026-05-30T02:43:33.106Z

Link: CVE-2026-49447

cve-icon Vulnrichment

Updated: 2026-07-29T13:36:23.792Z

cve-icon NVD

Status : Deferred

Published: 2026-07-28T21:17:28.427

Modified: 2026-07-30T20:02:12.943

Link: CVE-2026-49447

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T14:30:18Z

Weaknesses