{"id":"CVE-2026-9093","aliases":["CVE-2026-9093","GHSA-3w4h-g9f5-j84p","GO-2026-5894"],"related":[],"kind":"vulnerability","state":"published","title":"CVE-2026-9093","summary":"In Casdoor versions 2.362.0 and earlier, the SAML service provider implementation does not validate the AudienceRestriction element in SAML assertions. The buildSp function in object/saml_sp.go never sets AudienceURI on the gosaml2 SAMLServiceProvider struct and never inspects WarningInfo.NotInAudience. This allows assertions issued for other service providers to be accepted by Casdoor.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In Casdoor versions 2.362.0 and earlier, the SAML service provider implementation does not validate the AudienceRestriction element in SAML assertions. The buildSp function in object/saml_sp.go never sets AudienceURI on the gosaml2 SAMLServiceProvider struct and never inspects WarningInfo.NotInAudience. This allows assertions issued for other service providers to be accepted by Casdoor.","source":"cvelist"},{"lang":"en","text":"Casdoor does not validate the AudienceRestriction element in SAML assertions in github.com/casdoor/casdoor","format":"markdown","source":"go"}],"published":"2026-05-28T16:21:50.192Z","modified":"2026-07-07T16:11:05.640Z","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:H","score":9.8,"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:H","score":9.8,"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:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-863"],"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-9093","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/casdoor/casdoor","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-3w4h-g9f5-j84p","tags":["advisory"],"sources":["go"]}],"credits":[],"assigner":"certcc","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-06-02T15:47:55.475Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-9093","url":"https://www.cve.org/CVERecord?id=CVE-2026-9093","licence":"CVE Terms of Use","modified":"2026-06-02T16:44:14.889Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-3w4h-g9f5-j84p","url":"https://github.com/advisories/GHSA-3w4h-g9f5-j84p","licence":"CC-BY-4.0","modified":"2026-07-07T16:11:05.640Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5894","url":"https://pkg.go.dev/vuln/GO-2026-5894","licence":"CC-BY-4.0","modified":"2026-07-07T16:00:36.707Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-9093","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-9093","licence":"Public domain","modified":"2026-06-17T11:04:49.187Z"}],"updatedAt":"2026-11-25T22:59:22.973Z","epss":{"score":0.00365,"percentile":0.32358,"date":"2026-12-01T12:00:22.000Z"}}