Vulnerability · Published May 28, 2026 · Assigned by certcc

CVE-2026-9098CVE-2026-9098

Critical 9.1

In plain English

A critical-severity security flaw in Casdoor from Casdoor. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 14% of all known vulnerabilities).

Severity (CVSS 3.1)9.1Critical
Exploit odds (30 days)0.2%top 86.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/casdoor/casdoorno fix listedGHSA-mfvp-7p3v-x9mh
Gogithub.com/casdoor/casdoorno fix listedGO-2026-5898

Affected products (as reported)

VendorProductVersions
Casdoor Casdoor 0 – through 2.362.0

References