GHSA-gv4m-v8c8-hr3g

Suggest an improvement
Source
https://github.com/advisories/GHSA-gv4m-v8c8-hr3g
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-gv4m-v8c8-hr3g/GHSA-gv4m-v8c8-hr3g.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-gv4m-v8c8-hr3g
Aliases
Published
2026-05-28T18:30:32Z
Modified
2026-07-07T16:11:23Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
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.

Database specific
{
    "cwe_ids":  [
        "CWE-287"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-07-02T18:36:38Z",
    "nvd_published_at":  "2026-05-28T17:16:33Z",
    "severity":  "MODERATE"
}
References

Affected packages

Go / github.com/casdoor/casdoor

Package

Name
github.com/casdoor/casdoor
View open source insights on deps.dev
Purl
pkg:golang/github.com/casdoor/casdoor

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
1.1000.1-0.20260321120606-239e8bd69487

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-gv4m-v8c8-hr3g/GHSA-gv4m-v8c8-hr3g.json"