CVE-2026-9098: Critical severity Casdoor Casdoor vulnerability

Published May 28, 2026
·
Updated

In Casdoor versions 2.362.0 and earlier, the SAML callback handler in controllers/auth.go accepts any well-formed SAMLResponse sent to /api/acs without verifying that it corresponds to an AuthnRequest previously issued by Casdoor. Additionally, if an administrator disables or deletes an IdP (Identity Provider) after a SAML flow has started, the handler still processes the response using the provider snapshot loaded at the start of the request. As a result, an attacker controlling a registered upstream IdP can send unsolicited SAML responses, or replay a legitimately captured response in a different session or after the original flow has ended. In both cases, Casdoor accepts the response and issues a session, enabling persistent unauthorized access.

Affected Software

1 affected component
Casdoor Casdoor<=2.362.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Casdoor to a version that resolves this vulnerability.

    Fixed in 2.362.0
  2. Configuration

    Update Casdoor so the SAML callback handler in controllers/auth.go verifies that the received SAMLResponse corresponds to an AuthnRequest previously issued by Casdoor (and is not an unsolicited response or replayed into a different session).

    Casdoor SAML callback handler (/api/acs) SAMLResponse validation = Require correlation between incoming SAMLResponse and an AuthnRequest previously issued by Casdoor

Event History

May 28, 2026
CVE Published
via MITRE·04:31 PM
Data Sourced
via MITRE·04:31 PM
DescriptionWeakness
Data Sourced
via NVD·05:16 PM
DescriptionSeverity
Apr 28, 58520
Event
via FIRST·12:39 PM

Frequently Asked Questions

1

What is the severity of CVE-2026-9098?

CVE-2026-9098 has a risk rating of 20.

2

How do I fix CVE-2026-9098?

To fix CVE-2026-9098, upgrade to Casdoor versions newer than 2.362.0.

3

What application is affected by CVE-2026-9098?

CVE-2026-9098 affects Casdoor, specifically versions 2.362.0 and earlier.

4

What type of attack does CVE-2026-9098 allow?

CVE-2026-9098 allows attackers to send forged SAML responses to bypass authentication.

5

Does CVE-2026-9098 affect all installations of Casdoor?

CVE-2026-9098 affects installations running versions 2.362.0 and earlier that utilize SAML for authentication.

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