{"id":"CVE-2026-9098","aliases":["CVE-2026-9098","GHSA-mfvp-7p3v-x9mh","GO-2026-5898"],"related":[],"kind":"vulnerability","state":"published","title":"CVE-2026-9098","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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","format":"markdown","source":"go"}],"published":"2026-05-28T16:31:42.767Z","modified":"2026-07-07T16:11:24.868Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS: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,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS: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,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS: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,"rating":"CRITICAL"}],"cwes":["CWE-346","CWE-488"],"affected":[{"ranges":[{"type":"custom","introduced":"0","lastAffected":"2.362.0","status":"affected"}],"vendor":"Casdoor","product":"Casdoor","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"1.1000.1-0.20260321120606-239e8bd69487"}],"ecosystem":"Go","package":"github.com/casdoor/casdoor","purl":"pkg:golang/github.com/casdoor/casdoor","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/casdoor/casdoor","purl":"pkg:golang/github.com/casdoor/casdoor","source":"go"}],"references":[{"url":"https://kb.cert.org/vuls/id/780781","tags":["web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-9098","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/casdoor/casdoor","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-mfvp-7p3v-x9mh","tags":["advisory"],"sources":["go"]}],"credits":[],"assigner":"certcc","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-06-02T15:50:28.631Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-9098","url":"https://www.cve.org/CVERecord?id=CVE-2026-9098","licence":"CVE Terms of Use","modified":"2026-06-02T16:43:43.567Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mfvp-7p3v-x9mh","url":"https://github.com/advisories/GHSA-mfvp-7p3v-x9mh","licence":"CC-BY-4.0","modified":"2026-07-07T16:11:24.868Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5898","url":"https://pkg.go.dev/vuln/GO-2026-5898","licence":"CC-BY-4.0","modified":"2026-07-07T16:00:30.358Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-9098","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-9098","licence":"Public domain","modified":"2026-06-17T11:04:50.067Z"}],"updatedAt":"2026-11-25T22:59:22.977Z","epss":{"score":0.0023,"percentile":0.14849,"date":"2026-12-01T12:00:22.000Z"}}