Home

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.

PUBLISHED Reserved 2026-05-20 | Published 2026-05-28 | Updated 2026-06-02 | Assigner certcc

Problem types

CWE-863 Incorrect Authorization

Product status

Any version
affected

References

kb.cert.org/vuls/id/780781

cve.org (CVE-2026-9093)

nvd.nist.gov (CVE-2026-9093)

Download JSON