CVE-2026-9098
CRITICAL 9.1CVSS 3.1Casdoor SAML callback handler accepts any well-formed SAMLResponse sent to /api/acs without verifying that it corresponds to an AuthnRequest
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.
- Published
- 28 May 2026
- Last modified
- 7 Jul 2026
- Assigned by
- cret@cert.org
- NVD status
- Deferred
- Weakness
- CWE-488
- Also known as
- GHSA-mfvp-7p3v-x9mhGO-2026-5898
- Sources
- NVDJSONOSV GHSA-mfvp-7p3v-x9mhJSONOSV GO-2026-5898JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/casdoor/casdoor | <= 1.1000.1-0.20260321120606-239e8bd69487 | |
| OSV | Go | github.com/casdoor/casdoor | all versions |
References
- https://kb.cert.org/vuls/id/780781 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-9098 · ADVISORY
- https://github.com/casdoor/casdoor · PACKAGE
- https://github.com/advisories/GHSA-mfvp-7p3v-x9mh · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 28 May 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 28 May 2026)