GitHub Advisoryadvisory · Go

GHSA-gv4m-v8c8-hr3g Casdoor allows users to bypass configured MFA requirements

MEDIUM Published 2026-05-28 Modified 2026-07-02 Official page ↗
Aliases
CVE-2026-9091
Ecosystem
Go
Packages
github.com/casdoor/casdoor
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weaknesses
CWE-287
Reviewed
2026-07-02

Affected packages

• Go github.com/casdoor/casdoor: <= 1.1000.1-0.20260321120606-239e8bd69487 (no fix yet)

Description

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.

Related

Alias · CVE (1)

  • CVE-2026-9091 Casdoor versions 2.362.0 and earlier contain a logic flaw in the social‑login binding flow that allows users to bypass configured MFA… vulnerability

Weakness · CWE (1)

  • CWE-287 Improper Authentication weakness

References