CVE-2026-142301: Cosmos Server through 0.24.1 Open Redirect via Backslash Path After OpenID Login

Published Dec 2, 2026
·
Updated

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

1 affected component
Cosmos Cosmos Server<=0.24.1

Event History

Dec 2, 2026
CVE Published
via MITRE·04:48 PM
Data Sourced
via MITRE·04:48 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:17 PM
DescriptionSeverityWeakness
Event
via NVD·05:17 PM

Frequently Asked Questions

1

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.

2

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.

3

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203