ADVISORIES

GitHub Advisory Database

GHSA-fwgq-j9r9-qjgr

Casdoor has an authentication bypass

Critical No fix available CVE-2026-9090GO-2026-5895

Details

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.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/casdoor/casdoor
All versions up to and including 1.1000.1-0.20260321120606-239e8bd69487

References