Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify Casdoor instance with SAML enabled
-
DeliveryObtain signing key of a trusted upstream IdP
-
ExploitForge SAMLResponse asserting victim identity
-
ExecutionPOST unsolicited assertion to /api/acs
-
PersistCasdoor issues session without AuthnRequest correlation
-
ImpactAuthenticate 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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 (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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.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
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.
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
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: 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 |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-32952
GHSA-mfvp-7p3v-x9mh
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB