{"cve":"CVE-2026-9098","nvd":{"published":"2026-05-28T17:16:34.963","modified":"2026-06-17T11:04:50.067","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1},"cwes":[],"references":["https://kb.cert.org/vuls/id/780781"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:36:28.938604137+00:00"},"epss":{"cve":"CVE-2026-9098","score":0.0023,"percentile":0.13932,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-mfvp-7p3v-x9mh","url":"https://osv.dev/vulnerability/GHSA-mfvp-7p3v-x9mh","summary":"Casdoor SAML callback handler accepts any well-formed SAMLResponse sent to /api/acs without verifying that it corresponds to an AuthnRequest","modified":"2026-07-07T16:11:24.868257056Z","packages":[{"ecosystem":"Go","name":"github.com/casdoor/casdoor","purl":"pkg:golang/github.com/casdoor/casdoor","ranges":["<=1.1000.1-0.20260321120606-239e8bd69487"],"fixed":[]}]},{"id":"GO-2026-5898","url":"https://osv.dev/vulnerability/GO-2026-5898","summary":"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","modified":"2026-07-07T16:00:30.358126055Z","packages":[{"ecosystem":"Go","name":"github.com/casdoor/casdoor","purl":"pkg:golang/github.com/casdoor/casdoor","ranges":["all versions"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}