CVE-2026-9098 CVE-2026-9098
Attackers can bypass SAML authentication checks to gain unauthorized persistent access to Casdoor accounts by sending unsolicited or replayed responses.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-9098?
CVE-2026-9098 is a critical authentication bypass vulnerability in Casdoor, published on 28 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Which versions are affected by CVE-2026-9098?
3 open source packages ship an affected version, including github.com/casdoor/casdoor.
| Package | Affected | Fixed in |
|---|---|---|
github.com/casdoor/casdoor Go | All versions | None |
github.com/casdoor/casdoor Go | All versions to 1.1000.1-0.20260321120606-239e8bd69487 | None |
github.com/casdoor/casdoor Go | All versions to 1.1000.1-0.20260321120606-239e8bd69487 | None |
How do I fix CVE-2026-9098?
Upgrade to a fixed version.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2026-9098 being exploited?
There is no known exploitation of CVE-2026-9098 in the wild and no public exploit code.
Sources
Also known as GHSA-mfvp-7p3v-x9mh, GO-2026-5898.