AploSec / Disclosures / CVE-2026-142301
Cosmos Server through 0.24.1 Open Redirect via Backslash Path After OpenID Login
CVE-2026-142301 · published 2026-12-02
In plain words: this type of bug lets someone send users to a site the attacker controls (open redirect). No fixed release is listed yet.
Summary
CVE-2026-142301 affects Cosmos Server (Go) <= 0.24.1: Open Redirect via Backslash Path After OpenID Login (CWE-601). No fixed release is listed. CVSS 4.0 base score 5.3 (Medium), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).
Cosmos Server through 0.24.1 contains an open redirect vulnerability in detectCallbackEndpoint that allows unauthenticated attackers to redirect users by supplying backslash-prefixed paths on auth-protected routes. Attackers can send links like /%5Cevil.example/ that, after OpenID login, produce a protocol-relative Location header redirecting victims to attacker-controlled phishing sites.
Evidence
Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.
Remediation
No fixed release is listed in the advisory. Check the references for upstream status.
References
- VulnCheck advisoryhttps://www.vulncheck.com/advisories/cosmos-server-through-0.24.1-open-redirect-via-backslash-path-after-openid-login
- Vulnerable codehttps://github.com/azukaar/Cosmos-Server/blob/v0.24.1/src/proxy/app_gate.go#L14-L21
- Vulnerable codehttps://github.com/azukaar/Cosmos-Server/blob/v0.24.1/src/authorizationserver/oauth2.go#L227-L245
- Vulnerable codehttps://github.com/azukaar/Cosmos-Server/blob/v0.24.1/src/authorizationserver/oauth2.go#L378-L382
- CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-142301
- Severity
- Medium 5.3CVSS 4.0, scored by VulnCheck in the CVE record
- Package
- Cosmos Server
- Ecosystem
- Go
- Affected
- <= 0.24.1
- Fixed
- None
- Weakness
- CWE-601
- CNA
- VulnCheck
- Credit
- Zachariah Mithani (AploSec)finder