CVE-2026-9098
JSON

9.1critical

CVE-2026-9098

Severity
9.1critical CVSS:3.1 by CISA-ADP
Exploit likelihood
0.23% (higher than 14% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
certcc
Also known as
GHSA-mfvp-7p3v-x9mhGO-2026-5898

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

Product or packageVersionsReported by
Casdoor Casdoorup to 2.362.0CVE List
github.com/casdoor/casdoor (Go)up to 1.1000.1-0.20260321120606-239e8bd69487, all versionsGitHub Advisory Database, Go Vulnerability Database

All scores

CISA-ADP9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
GitHub9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Classification

CWE-346CWE-488

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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.

Go Vulnerability Database

Casdoor SAML callback handler accepts any well-formed SAMLResponse sent to /api/acs without verifying that it corresponds to an AuthnRequest in github.com/casdoor/casdoor

References

Sources

SourceRecordLicence
CVE ListCVE-2026-9098 changed 2026-06-02CVE Terms of Use
GitHub Advisory DatabaseGHSA-mfvp-7p3v-x9mh changed 2026-07-07CC-BY-4.0
Go Vulnerability DatabaseGO-2026-5898 changed 2026-07-07CC-BY-4.0
NVDCVE-2026-9098 changed 2026-06-17Public domain