9.8critical
CVE-2026-9093
- Severity
- 9.8critical CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.36% (higher than 32% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- certcc
- Also known as
- GHSA-3w4h-g9f5-j84pGO-2026-5894
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Casdoor Casdoor | up to 2.362.0 | CVE List |
| github.com/casdoor/casdoor (Go) | up to 1.1000.1-0.20260321120606-239e8bd69487, all versions | GitHub Advisory Database, Go Vulnerability Database |
All scores
| CISA-ADP | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
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 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.
Go Vulnerability Database
Casdoor does not validate the AudienceRestriction element in SAML assertions in github.com/casdoor/casdoor
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-9093 changed 2026-06-02 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-3w4h-g9f5-j84p changed 2026-07-07 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-5894 changed 2026-07-07 | CC-BY-4.0 |
| NVD | CVE-2026-9093 changed 2026-06-17 | Public domain |