Casdoor has an authentication bypass
Critical severity
GitHub Reviewed
Published
May 28, 2026
to the GitHub Advisory Database
•
Updated Jul 2, 2026
Package
Affected versions
<= 1.1000.1-0.20260321120606-239e8bd69487
Patched versions
None
Description
Published by the National Vulnerability Database
May 28, 2026
Published to the GitHub Advisory Database
May 28, 2026
Reviewed
Jul 2, 2026
Last updated
Jul 2, 2026
Casdoor versions 2.362.0 and earlier contain a vulnerability that allows an attacker to bypass authentication by supplying an arbitrary signing certificate. The buildSpCertificateStore function extracts the X.509 certificate directly from the incoming SAMLResponse instead of using the trusted pre-configured Identity Provider certificate, allowing an attacker to forge assertions signed with an attacker-controlled key.
References