GitHub Advisory Database
GHSA-gv4m-v8c8-hr3g
Casdoor allows users to bypass configured MFA requirements
Details
Casdoor versions 2.362.0 and earlier contain a logic flaw in the social‑login binding flow that allows users to bypass configured MFA requirements. The binding‑rule code path in controllers/auth.go calls HandleLoggedIn directly without invoking checkMfaEnable. Any user authenticating via this path is logged in without MFA enforcement.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/casdoor/casdoor | All versions up to and including 1.1000.1-0.20260321120606-239e8bd69487 |