Skip to main content

Casdoor CVE-2026-9091

| EUVDEUVD-2026-32942 MEDIUM
2026-05-28 certcc GHSA-gv4m-v8c8-hr3g
5.3
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify externally accessible Casdoor instance with social login enabled
  2. Delivery
    Control or register a social IdP account linkable to a target user
  3. Exploit
    Initiate social-login binding flow via Casdoor OAuth endpoint
  4. Execution
    Trigger HandleLoggedIn without MFA check in controllers/auth.go
  5. Persist
    Receive fully authenticated session bypassing MFA
  6. Impact
    Access 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

casdoor 0 ≤2.362.0

Affected Packages

go github.com/casdoor/casdoor no fix
euvd casdoor no fix

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

NVD PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
SUSE MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

Lifecycle Timeline

2
CVSS changed
May 29, 2026 - 20:22 NVD
5.3 (MEDIUM)
CVE Published
May 28, 2026 - 16:19 nvd
UNKNOWN (no severity yet)

DescriptionCVE.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

EPSS Score
0.0%
Top 95% exploitable
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2026-91998 CRITICAL POC
9.4 Sep 15

Cross-organization user administration takeover in Casdoor through 4.4.0 allows any holder of a single application's cli

CVE-2026-90942 CRITICAL POC
9.3 Sep 14

Casdoor through 4.4.0 exposes its instance-wide built-in JWT signing private key unmasked through the /api/get-certs and

CVE-2022-38638 CRITICAL POC
9.1 Sep 09

Casdoor v1.97.3 was discovered to contain an arbitrary file write vulnerability via the fullFilePath parameter at /api/u

CVE-2024-41657 HIGH POC
8.8 Aug 20

Casdoor is a UI-first Identity and Access Management (IAM) / Single-Sign-On (SSO) platform. Rated high severity (CVSS 8.

CVE-2022-44942 HIGH POC
8.1 Dec 07

Casdoor before v1.126.1 was discovered to contain an arbitrary file deletion vulnerability via the uploadFile function.

CVE-2023-34927 MEDIUM POC
6.5 Jun 22

Casdoor v1.331.0 and below was discovered to contain a Cross-Site Request Forgery (CSRF) in the endpoint /api/set-passwo

CVE-2024-41658 MEDIUM POC
6.1 Aug 20

Casdoor is a UI-first Identity and Access Management (IAM) / Single-Sign-On (SSO) platform. Rated medium severity (CVSS

CVE-2026-15630 CRITICAL
9.9 Jul 23

Cross-tenant privilege escalation in Casdoor allows a non-global organization admin in one tenant to delete, create, or

CVE-2026-6815 MEDIUM POC
5.9 May 11

Path traversal in Casdoor's Local File System storage provider allows authenticated administrators to write arbitrary fi

CVE-2026-9097 CRITICAL
9.8 May 28

Token revocation bypass in Casdoor identity management platform (versions 2.362.0 and earlier) allows remote unauthentic

CVE-2026-9094 CRITICAL
9.8 May 28

Cross-organization token exchange in Casdoor versions 2.362.0 and earlier allows remote unauthenticated attackers to esc

CVE-2026-9093 CRITICAL
9.8 May 28

SAML authentication bypass in Casdoor 2.362.0 and earlier allows remote unauthenticated attackers to authenticate as arb

Vendor 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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy