CVE-2026-9093: Vulnerability in github.com/casdoor/casdoor

Critical. 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

Exploitation
None confirmed
Severity
9.8 of 10
Attack likelihood
Unknown
Fix
None recorded
Patch deadline
No deadline set

Details

Advisory ID
GHSA-3w4h-g9f5-j84p
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
Not classified
Published
28 May 2026
Last change
2 Jul 2026
Ecosystem
Go

Affected packages

Vulnerable version ranges and fixed releases

  • github.com/casdoor/casdoor Go, Affected through 1.1000.1-0.20260321120606-239e8bd69487. No fixed version recorded

Advisories

Vendor and security advisories