CVE-2026-142301: Cosmos Server through 0.24.1 Open Redirect via Backslash Path After OpenID Login
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.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this redirect?
Users who follow an attacker-supplied backslash-prefixed URL to an authentication-protected Cosmos Server route and then complete the OpenID login flow can be redirected to an attacker-controlled site.
What does an attacker need to exploit this issue?
The attacker does not need authentication or privileges. They need to persuade a victim to open a crafted link such as /%5Cevil.example/ targeting an auth-protected route and proceed through OpenID login.
How can I identify exploit attempts?
Review requests to authentication-protected routes for backslash-prefixed or URL-encoded backslash paths, such as /%5Cevil.example/. A successful attempt results in a post-login Location header that is protocol-relative and points to an attacker-controlled host.