GHSA-3w4h-g9f5-j84p

ghsaUSosv

Casdoor does not validate the AudienceRestriction element in SAML assertions

view advisory published 2026-05-28Licence: CC-BY-4.0

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.

01

describes (1)

Related CVEs.

IDseverity exploitable
CVE-2026-9093US—OT elevated—
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 obje…
02

references

External citations — patches, advisories, analysis.

scry

Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.

Free scan