CVE-2026-9093
JSON

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 packageVersionsReported by
Casdoor Casdoorup to 2.362.0CVE List
github.com/casdoor/casdoor (Go)up to 1.1000.1-0.20260321120606-239e8bd69487, all versionsGitHub Advisory Database, Go Vulnerability Database

All scores

CISA-ADP9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-863

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

SourceRecordLicence
CVE ListCVE-2026-9093 changed 2026-06-02CVE Terms of Use
GitHub Advisory DatabaseGHSA-3w4h-g9f5-j84p changed 2026-07-07CC-BY-4.0
Go Vulnerability DatabaseGO-2026-5894 changed 2026-07-07CC-BY-4.0
NVDCVE-2026-9093 changed 2026-06-17Public domain