Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify externally accessible Casdoor instance with social login enabled
-
DeliveryControl or register a social IdP account linkable to a target user
-
ExploitInitiate social-login binding flow via Casdoor OAuth endpoint
-
ExecutionTrigger HandleLoggedIn without MFA check in controllers/auth.go
-
PersistReceive fully authenticated session bypassing MFA
-
ImpactAccess Casdoor-protected resources as target user
Vulnerability Assessment
| Exploitation Conditions | The social-login (OAuth/OIDC social identity provider binding) feature must be enabled on the Casdoor instance, as the flaw exists specifically in the binding-rule code path in controllers/auth.go - instances with social login disabled are not exposed to this attack vector. Exploitation additionally requires the attacker to possess or control a social identity provider account that is already bound, or can be bound, to a Casdoor user account that has MFA configured - accounts without MFA enforcement are unaffected because no bypass of a non-existent control occurs. The CVSS vector (PR:N/AC:L/UI:N) confirms unauthenticated remote exploitation with no user interaction required once these preconditions are met. Limiting factors for defenders: social login must be enabled (non-default in hardened deployments), the attacker must have or obtain a valid IdP credential linkable to a target account, and only MFA-protected accounts are meaningfully impacted by the bypass. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N) scores 5.3 Medium, indicating fully remote, low-complexity, unauthenticated exploitation with no user interaction - but scoped impact limited to partial confidentiality. The low impact score reflects that the direct outcome is unauthorized session access rather than full system compromise; however, the strategic value of MFA bypass is significantly higher than CVSS alone conveys, as it dismantles a primary compensating control for accounts that may hold elevated privileges. EPSS at 0.02% (5th percentile) and SSVC exploitation status of 'none' confirm no observed exploitation activity. The critical tension in this assessment: SSVC also flags Automatable:yes, meaning the social-login endpoint can be targeted programmatically at scale once an attacker holds a linkable IdP credential - raising real-world risk above what EPSS suggests for targeted deployments. This vulnerability is not in CISA KEV and no POC is known, so the present risk is primarily to organizations that treat MFA as a hard compliance or access-control requirement for privileged Casdoor accounts. |
| Exploit ScenarioDerived | An attacker who controls or can register a social identity provider account (e.g., a GitHub or Google OAuth account) that is bound or bindable to a target Casdoor user account initiates authentication through the social-login binding endpoint. Because controllers/auth.go skips the MFA enforcement check in this code path, the attacker receives a fully authenticated Casdoor session for the target user without completing - or even being prompted for - the configured second factor. No public exploit code is known, but the attack requires only standard OAuth flow interaction against the Casdoor social-login endpoint, making it automatable against any externally accessible instance. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 29, 2026
MFA enforcement in Casdoor 2.362.0 and earlier is completely bypassable via the social-login binding flow, where controllers/auth.go calls HandleLoggedIn directly without invoking checkMfaEnable, granting fully authenticated sessions to users who should face a second factor. Remote unauthenticated attackers with access to a linked social identity provider account can exploit this to authenticate as any MFA-protected Casdoor user, nullifying MFA as a compensating control. No public exploit has been identified at time of analysis and EPSS probability is 0.02%, though SSVC classifies the attack as automatable, indicating scripted mass exploitation is technically feasible once targeting criteria are met.
RemediationAI
The primary remediation is to upgrade Casdoor to a version beyond 2.362.0 that includes a fix for the missing checkMfaEnable call in the social-login binding code path in controllers/auth.go; however, no specific patched release version number is confirmed in the available data, and the exact fix version must be verified directly from the Casdoor project maintainers and the CERT/CC advisory at https://kb.cert.org/vuls/id/780781 before deploying. As a compensating control while awaiting a confirmed patch, administrators should disable the social-login binding feature entirely if MFA enforcement is a hard security or compliance requirement - this eliminates the vulnerable code path at the cost of SSO convenience for social identity providers. Alternatively, restrict network access to the Casdoor social-login binding endpoint via reverse proxy or firewall rules to trusted IP ranges, reducing the automatable attack surface while accepting reduced availability for remote social-login users. Authentication logs should be actively monitored for sessions established via social-login paths that lack a corresponding MFA event as an anomaly detection measure.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Casdoor is an open-source identity and access management platform providing SSO, OAuth 2.0, and social-login integration. The vulnerable code path resides in controllers/auth.go within the social-login account binding flow - the logic block that links external identity provider accounts (e.g., GitHub, Google OAuth/OIDC) to Casdoor user identities. In this path, upon successful binding, HandleLoggedIn is invoked directly to create an authenticated session, skipping the checkMfaEnable guard that would otherwise gate login behind a second factor. Although no CWE is formally assigned, the root cause class maps closely to CWE-287 (Improper Authentication) or CWE-304 (Missing Critical Step in Authentication). All Casdoor application instances are affected per CPE cpe:2.3:a:casdoor:casdoor:*:*:*:*:*:*:*:*, covering every version from 0 through 2.362.0 inclusive as confirmed by ENISA EUVD-2026-32942.
Know when Casdoor gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Cross-organization user administration takeover in Casdoor through 4.4.0 allows any holder of a single application's cli
Casdoor through 4.4.0 exposes its instance-wide built-in JWT signing private key unmasked through the /api/get-certs and
Casdoor v1.97.3 was discovered to contain an arbitrary file write vulnerability via the fullFilePath parameter at /api/u
Casdoor is a UI-first Identity and Access Management (IAM) / Single-Sign-On (SSO) platform. Rated high severity (CVSS 8.
Casdoor before v1.126.1 was discovered to contain an arbitrary file deletion vulnerability via the uploadFile function.
Casdoor v1.331.0 and below was discovered to contain a Cross-Site Request Forgery (CSRF) in the endpoint /api/set-passwo
Casdoor is a UI-first Identity and Access Management (IAM) / Single-Sign-On (SSO) platform. Rated medium severity (CVSS
Cross-tenant privilege escalation in Casdoor allows a non-global organization admin in one tenant to delete, create, or
Path traversal in Casdoor's Local File System storage provider allows authenticated administrators to write arbitrary fi
Token revocation bypass in Casdoor identity management platform (versions 2.362.0 and earlier) allows remote unauthentic
Cross-organization token exchange in Casdoor versions 2.362.0 and earlier allows remote unauthenticated attackers to esc
SAML authentication bypass in Casdoor 2.362.0 and earlier allows remote unauthenticated attackers to authenticate as arb
Same technique Authentication Bypass
View allVendor StatusVendor
SUSE
Severity: Moderate| Product | Status |
|---|---|
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-32942
GHSA-gv4m-v8c8-hr3g
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB