Skip to main content

Cosmos Server CVE-2026-49447

| EUVDEUVD-2026-50056 MEDIUM
Improper Authentication (CWE-287)
2026-07-28 GitHub_M GHSA-5fqm-cc34-fcf5
5.3
CVSS 3.1 · Vendor: GitHub_M
Share

Severity by source

Vendor (GitHub_M) PRIMARY
5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
vuln.today AI
5.3 MEDIUM

Network-accessible, low complexity, unauthenticated, no user interaction.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

Lifecycle Timeline

2
Source Code Evidence Fetched
Jul 28, 2026 - 21:21 vuln.today
Analysis Generated
Jul 28, 2026 - 21:21 vuln.today

DescriptionCVE.org

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.

AnalysisAI

Authentication bypass in Cosmos Server 0.22.18 allows unauthenticated attackers to leak Constellation device metadata via the public-devices endpoint. The handler accepts any non-empty Authorization header but does not validate the bearer token, exposing device names, IPs, and role flags. Publicly available exploit code exists, but no active exploitation is reported; the vulnerability is patched in version 0.22.19.

Technical ContextAI

Cosmos Server is a self-hosted server manager with a Constellation VPN feature that securely connects devices. The endpoint /cosmos/api/constellation/public-devices is registered on the authenticated admin API router and undergoes tokenMiddleware which only validates tokens with a specific cosmos_ prefix. The handler strips the Bearer prefix but never validates the token, allowing any non-empty bearer value to bypass authentication (CWE-287 Improper Authentication). The flaw exists in src/constellation/api_devices_public.go where the handler queries all non-blocked, non-invisible devices without filtering by the stripped token.

RemediationAI

Upgrade to Cosmos Server version 0.22.19, which includes the fix (commit 59c561d686c8f9843b3e092b50f6346c481d8bbf and release v0.22.19). As a workaround, disable the Constellation feature if not required by setting the appropriate configuration option, or restrict network access to the /api/constellation/public-devices endpoint via a reverse proxy or firewall. Note that disabling Constellation may break remote access functionality for existing devices.

Share

CVE-2026-49447 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy