Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify Casdoor SAML SP endpoint
-
DeliveryCapture valid SAMLResponse via log/proxy/co-tenant
-
ExploitReplay assertion to /api/acs
-
ExecutionReceive authenticated session cookie
-
PersistAccess target account including admin
-
ImpactPivot to downstream federated applications
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Replay attack prevention
|
| Exploitation Conditions | Casdoor must be configured as a SAML 2.0 Service Provider with at least one SAML IdP enabled - deployments using only OAuth, OIDC, LDAP, or local accounts are not exposed via this code path. The attacker must obtain a previously valid SAML <Response>/<Assertion> for the target user (capture vectors: TLS-terminating proxy, log files containing SAMLResponse, browser cache on shared host, malicious co-tenant SP federated to the same IdP, or IdP-side disclosure). No password, MFA token, or user interaction is required at the replay stage, and the assertion remains replayable indefinitely because no ID cache or OneTimeUse check is performed; the only natural limit is the NotOnOrAfter timestamp inside the assertion itself, which is IdP-configured and often hours long. |
| Impact | The CVSS 8.1 score (AV:N/AC:H/PR:N/UI:N/C:H/I:H/A:H) reflects unauthenticated network-based total compromise, tempered by High attack complexity because the adversary must first obtain a valid SAML assertion (e.g., via TLS interception, log exposure, IdP-side leakage, or a malicious relying party in a shared IdP scenario). No EPSS score, KEV listing, or public POC was provided, so exploitation appears opportunistic rather than mass-automated at present. The intelligence package contains a conflict worth flagging: the input includes a 'Denial Of Service' tag, but the description and CVSS vector clearly describe an authentication-bypass/account-takeover impact - the DoS tag appears mislabeled and should be disregarded in favor of the credential-replay impact. Real-world priority is HIGH for any Casdoor deployment using SAML for SSO into privileged systems, because a single captured assertion yields persistent admin access bypassing MFA. |
| Exploit ScenarioDerived | An attacker who captures a single SAML assertion - for example, by harvesting it from server logs, browser history on a shared workstation, an intercepted proxy, or a malicious sibling SP sharing the same IdP - POSTs that same assertion to the Casdoor /api/acs (Assertion Consumer Service) endpoint and receives an authenticated session as the original subject, including administrators. No public exploit code is identified at time of analysis, but reproduction is straightforward using standard SAML tooling such as SAMLRaider or a simple curl replay of the captured SAMLResponse parameter. The High attack complexity rating reflects the assertion-capture step, not the replay itself, which is trivial. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 28, 2026
Authentication bypass in Casdoor (versions ≤2.362.0) allows remote attackers to replay captured SAML assertions to hijack any user account, including administrators, without credentials or MFA. The SAML service provider implementation lacks assertion ID caching, OneTimeUse condition enforcement, and any form of replay detection, making any intercepted assertion indefinitely reusable. No public exploit identified at time of analysis, but the vulnerability was disclosed via CERT/CC (VU#780781), indicating coordinated vendor notification.
RemediationAI
No vendor-released patch identified at time of analysis - neither the CERT/CC note nor the NVD reference cites a fixed version, so operators should monitor the Casdoor GitHub repository for an update to object/saml_sp.go that introduces an assertion ID replay cache and OneTimeUse enforcement. As compensating controls, disable the SAML SSO provider in Casdoor and fall back to OAuth/OIDC if feasible (trade-off: requires reconfiguring downstream applications); enforce short SAML assertion lifetimes (NotOnOrAfter window of 1-2 minutes) at the IdP to shrink the replay window (trade-off: clock-skew-related login failures); ensure HTTPS with strict TLS for both IdP and SP endpoints to prevent on-path assertion capture; restrict network egress/ingress so SAML traffic cannot be observed by untrusted intermediaries; and rotate administrator passwords and revoke active sessions if compromise is suspected. Track the advisory at https://kb.cert.org/vuls/id/780781 for patch release notification.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in 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 supporting OAuth, SAML, OIDC, and other federation protocols. The flaw resides in object/saml_sp.go where ParseSamlResponse() invokes sp.RetrieveAssertionInfo() and binds the returned subject to a session without performing the SAML replay-protection steps mandated by the SAML 2.0 Core specification (Section 4.1.4.5). CWE-294 (Authentication Bypass by Capture-Replay) captures the root cause: SAML responses must be uniquely consumed via an assertion ID cache, NotOnOrAfter window enforcement, and honoring the <OneTimeUse> Condition - none of which exist in the SP code path. The affected product is identified by cpe:2.3:a:casdoor:casdoor:*:*:*:*:*:*:*:*.
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:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
Casdoor versions 2.362.0 and earlier map SAML assertions to user sessions without replay protection. The ParseSamlResponse() function in object/saml_sp.go calls sp.RetrieveAssertionInfo() and immediately maps the result to a user session. There is no assertion ID cache, OneTimeUse condition enforcement, or replay detection anywhere in the SAML SP code path. As a result, an attacker can replay a previously captured SAML assertion to obtain an authenticated session for the assertion’s subject, including administrator accounts, without needing the user’s password or MFA credentials.
Executive ViewAI
Casdoor identity management (versions ≤2.362.0) contains a critical SAML authentication bypass enabling attackers to hijack any user account, including administrator accounts, through captured assertion replay without credentials or multi-factor authentication. This represents complete compromise of the authentication infrastructure for affected organizations, with no vendor patch currently available. Immediate mitigation action is required to prevent unauthorized administrative access.
No vendor-released patch identified at time of analysis. Interim mitigations include: (1) temporarily disable SAML and enforce alternative authentication methods; (2) implement assertion ID logging with automated alerting on reuse; (3) reduce SAML assertion validity period to minimum viable duration; (4) deploy network-level inspection to enforce OneTimeUse condition and assertion ID uniqueness; (5) enable comprehensive logging and monitoring of authentication events and privilege escalations for forensic detection.
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
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
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
EUVD-2026-32949
GHSA-jcmp-phfm-38x8
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB