Skip to main content

Casdoor CVE-2026-9098

| EUVDEUVD-2026-32952 CRITICAL
2026-05-28 certcc GHSA-mfvp-7p3v-x9mh
9.1
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Identify Casdoor instance with SAML enabled
  2. Delivery
    Obtain signing key of a trusted upstream IdP
  3. Exploit
    Forge SAMLResponse asserting victim identity
  4. Execution
    POST unsolicited assertion to /api/acs
  5. Persist
    Casdoor issues session without AuthnRequest correlation
  6. Impact
    Authenticate as targeted user and access protected resources

Vulnerability Assessment

Exploitation Conditions

The attacker must control an Identity Provider that is currently or was recently registered as a trusted upstream IdP on the target Casdoor instance (versions ≤2.362.0), and must be able to reach the /api/acs SAML Assertion Consumer Service endpoint over the network - no Casdoor user credentials, no user interaction, no prior AuthnRequest from the victim, and no special non-default configuration of the SAML feature itself are required beyond having SAML federation enabled. Exploitation is limited by the fact that Casdoor must have SAML login configured and the attacker's signing key must correspond to an IdP entry Casdoor trusts; deployments that do not use SAML, or that only federate with a single fully controlled internal IdP whose signing key is not attacker-accessible, are not realistically exposed. The provider-snapshot flaw additionally allows exploitation during a window after an admin disables or deletes the malicious IdP, weakening incident-response containment.

Impact

The CVSS 9.1 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N) signals an internet-reachable, low-complexity, unauthenticated attack against confidentiality and integrity, which is consistent with the described capability to mint sessions for arbitrary users. However, exploitation requires the attacker to control a SAML IdP that has been registered as trusted by the target Casdoor instance - a meaningful precondition that CVSS does not fully capture and that aligns with the very low EPSS score of 0.01% (1st percentile). The vulnerability is not present in CISA KEV, no public exploit was identified, and reporting came through CERT/CC, which typically reflects coordinated disclosure rather than active exploitation. Net assessment: this is a real and high-impact authentication bypass for any deployment that federates with third-party or multi-tenant SAML IdPs, but the prerequisite of being a registered upstream IdP narrows the realistic threat to insider/partner/SaaS-IdP abuse rather than opportunistic mass exploitation.

Exploit ScenarioDerived

An attacker who has registered (or compromised) a SAML IdP that the target Casdoor tenant trusts - for example a partner organization's IdP or a SaaS IdP - crafts a well-formed SAMLResponse asserting the identity of a high-value Casdoor user (such as an administrator) and POSTs it directly to https://victim/api/acs without first initiating a login flow. Casdoor accepts the unsolicited assertion, issues a session cookie, and the attacker accesses the victim account; the same primitive also enables replay of a previously captured legitimate assertion in a new session, and works against an IdP that has since been administratively deleted because the request uses the provider snapshot from request entry. No public exploit code has been identified, but the attack is a textbook unsolicited-assertion/replay against a SAML ACS and is straightforward to reproduce with standard SAML tooling.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
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 – Jun 02, 2026

Authentication bypass in Casdoor 2.362.0 and earlier permits remote attackers controlling a registered upstream Identity Provider to forge or replay SAML responses to /api/acs and obtain a valid session without an originating AuthnRequest. Because the SAML callback handler also processes responses using the IdP snapshot loaded at request start, a session can be issued even after an administrator has disabled or deleted the malicious IdP. No public exploit identified at time of analysis, and EPSS scores exploitation probability at 0.01%, but the vulnerability was reported through CERT/CC and tagged as an Authentication Bypass.

RemediationAI

No vendor-released patch identified at time of analysis - the supplied references include only the CERT/CC VU#780781 coordination note (https://kb.cert.org/vuls/id/780781) and the NVD entry (https://nvd.nist.gov/vuln/detail/CVE-2026-9098), with no fixed Casdoor release number disclosed. Operators should monitor the Casdoor GitHub project for a release above 2.362.0 that adds InResponseTo/RelayState binding and re-validates IdP state at assertion-processing time, and upgrade as soon as it is published. Until a fix ships, compensating controls include disabling SAML login entirely if not in use (eliminates the attack surface but breaks SSO for SAML-federated users), removing or temporarily un-trusting any third-party or multi-tenant upstream IdPs and leaving only fully controlled internal IdPs registered (reduces but does not remove risk where partner IdPs are required), placing /api/acs behind an authenticating reverse proxy or IP allow-list that restricts callbacks to the legitimate IdP egress ranges (effective only when IdP source addresses are stable and known), and increasing audit/alerting on Casdoor session-creation events that lack a matching outbound AuthnRequest correlation ID so replayed or unsolicited assertions can be detected post-hoc.

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 (IAM) platform written in Go that federates authentication via SAML, OAuth, OIDC, and similar protocols. The defect lives in controllers/auth.go where the SAML Assertion Consumer Service endpoint (/api/acs) validates the cryptographic structure of an inbound SAMLResponse but does not bind the response to a prior outbound AuthnRequest (no RelayState/InResponseTo/state correlation), which is the SAML profile requirement designed to prevent unsolicited assertion and replay attacks. A second flaw - using the in-memory provider snapshot taken at request entry - means revocation of a malicious IdP does not affect requests already in flight, so administrative remediation has a TOCTOU gap. While the input lists CWE as N/A, the behavior maps to CWE-287 (Improper Authentication) and CWE-294 (Authentication Bypass by Capture-Replay), with the CPE cpe:2.3:a:casdoor:casdoor:*:*:*:*:*:*:*:* matching all Casdoor builds at or below 2.362.0.

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 9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
SUSE CRITICAL

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

2
CVSS changed
Jun 02, 2026 - 17:22 NVD
9.1 (CRITICAL)
CVE Published
May 28, 2026 - 16:31 nvd
UNKNOWN (no severity yet)

DescriptionCVE.org

In Casdoor versions 2.362.0 and earlier, the SAML callback handler in controllers/auth.go accepts any well-formed SAMLResponse sent to /api/acs without verifying that it corresponds to an AuthnRequest previously issued by Casdoor. Additionally, if an administrator disables or deletes an IdP (Identity Provider) after a SAML flow has started, the handler still processes the response using the provider snapshot loaded at the start of the request. As a result, an attacker controlling a registered upstream IdP can send unsolicited SAML responses, or replay a legitimately captured response in a different session or after the original flow has ended. In both cases, Casdoor accepts the response and issues a session, enabling persistent unauthorized access.

Executive ViewAI

Why It Matters

Casdoor identity management software versions 2.362.0 and earlier contain a critical authentication bypass in SAML response handling that allows attackers controlling a connected identity provider to forge valid authentication sessions and gain unauthorized access to all Casdoor-integrated applications. Organizations using Casdoor for identity management face immediate risk of identity compromise across their entire application ecosystem. No vendor patch is currently available.

Business Impact: Severe
Compensating Controls

Disable or restrict non-critical identity provider integrations in Casdoor configuration; implement network access controls limiting SAML assertion endpoints (/api/acs) to trusted IP ranges or VPN; enable detailed logging and alerting on all SAML callback requests for anomaly detection; consider restricting Casdoor access to administrative users only if operationally feasible pending patch availability.

Threat Intelligence Overview

EPSS Score
0.0%
Top 99% exploitable
Threat Intel
1
1 source
Data Quality
4 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor

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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
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
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
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: Critical
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