Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain previously-valid SAML response
-
DeliveryPOST replayed assertion to Casdoor ACS
-
Exploitgosaml2 flags expiry in WarningInfo
-
ExecutionParseSamlResponse() ignores WarningInfo
-
PersistCasdoor issues session for impersonated user
-
ImpactAccess protected applications as victim
Vulnerability Assessment
| Exploitation Conditions | The target Casdoor instance must be deployed as a SAML 2.0 Service Provider (SAML SSO must be configured and reachable on its AssertionConsumerService endpoint), and the attacker must possess a SAML response that was at some point validly signed by an IdP Casdoor trusts - typically obtained by capturing a real user's login response, by replaying an old assertion from logs, or by being a former/compromised partner IdP. Signature validation, audience restriction, and any non-time-based checks are still enforced, so an attacker cannot mint a brand-new assertion; the bypass is specifically the time window (NotBefore/NotOnOrAfter), which means the practical limiter is the attacker's ability to acquire a once-valid assertion. Deployments that use Casdoor exclusively for non-SAML flows (OAuth2/OIDC, LDAP, local) are not exposed by this specific bug. |
| Impact | The signals here are mixed and worth calling out. CVSS 7.5 is scored AV:N/AC:L/PR:N/UI:N with C:N/I:N/A:H, and the source tags the issue 'Denial Of Service' - but the technical description is a SAML time-bound bypass, which is fundamentally an authentication/session-issuance flaw and would more naturally score with C/I impact rather than pure A:H. This inconsistency between the CVSS vector, the DoS tag, and the described behavior should be verified directly with CERT/CC (VU#780781) before treating the CVSS score as authoritative. EPSS is 0.02% (5th percentile) and there is no public exploit identified at time of analysis and no CISA KEV listing, so opportunistic mass exploitation is unlikely; however, the prerequisites for abuse are modest (any captured or previously-issued SAML response), so deployments using Casdoor as a SAML SP for high-value applications should still treat this as a priority patch rather than dismissing it based on EPSS alone. |
| Exploit ScenarioDerived | An attacker who has captured a previously valid SAML response (for example via a logged proxy, browser history, leaked log entry, or a malicious IdP partner) replays it to Casdoor's ACS endpoint long after its NotOnOrAfter has elapsed; because the time-bound result is discarded inside ParseSamlResponse(), Casdoor accepts the stale assertion and issues a fresh user session for the impersonated principal. No public exploit identified at time of analysis, but the attack is mechanically trivial - an HTTP POST replay of a known-good assertion - and requires no special tooling. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 02, 2026
SAML assertion time-bound enforcement is missing in Casdoor 2.362.0 and earlier, allowing remote attackers to present SAML assertions whose NotBefore/NotOnOrAfter windows have expired and still obtain valid user sessions. The underlying gosaml2 library does compute the time-validity result, but Casdoor's ParseSamlResponse() never reads the assertionInfo.WarningInfo field where those results are reported, so the check is silently discarded. No public exploit identified at time of analysis and EPSS is very low (0.02%, 5th percentile).
RemediationAI
No vendor-released patch identified at time of analysis from the data provided; operators should monitor the Casdoor GitHub repository and the CERT/CC note at https://kb.cert.org/vuls/id/780781 for a fixed release above 2.362.0 and upgrade as soon as one is published. As compensating controls until a fix lands, configure the SAML Identity Provider to issue assertions with the shortest practical NotOnOrAfter window (minutes, not hours) so the reusable window is minimized, ensure the IdP enforces single-use assertions and short-lived sessions on its side (trade-off: more frequent re-authentication for users), require fresh AuthnRequest flows by setting ForceAuthn=true where supported, and front Casdoor's ACS endpoint with a reverse proxy or WAF that can drop replayed SAML POSTs by InResponseTo / assertion ID (trade-off: needs replay-cache state). Treating SAML AssertionConsumer endpoints as authenticated-session-issuance and restricting them behind network controls only where the IdP egresses is also worth considering.
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 SSO platform that acts as a SAML 2.0 Service Provider via the russellhaering/gosaml2 Go library. SAML assertions carry <Conditions NotBefore="..." NotOnOrAfter="..."> elements that bound how long an assertion is valid; an SP MUST reject assertions outside that window (SAML Core §2.5.1.2). gosaml2 surfaces NotBefore/NotOnOrAfter validation outcomes through assertionInfo.WarningInfo rather than returning a hard error, so a caller that only inspects the returned error or the assertion payload - as Casdoor's ParseSamlResponse() does - will treat an expired or not-yet-valid assertion as acceptable. The root cause is an improper validation / missing check on time-based authentication data (CWE class is not assigned in the provided data, but this maps to the CWE-294 / CWE-613 / CWE-1390 family of authentication-data validation weaknesses).
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:N/I:N/A:H
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
Casdoor versions 2.362.0 and earlier do not enforce SAML assertion time bounds. The gosaml2 library reports all time-validation results, including NotOnOrAfter and NotBefore, in the assertionInfo.WarningInfo field. However, ParseSamlResponse() never reads this field, meaning that time bounds are computed by the library but silently discarded before the user session is issued.
Executive ViewAI
Casdoor versions 2.362.0 and earlier fail to validate SAML assertion expiration timestamps, enabling attackers to reuse expired authentication tokens to establish legitimate user sessions. No public exploit has been identified at time of analysis, though the vulnerability poses direct risk of unauthorized account access across SSO-integrated applications for any organization using Casdoor for identity management.
Pending vendor patch availability: (1) Configure identity provider with strict SAML assertion time windows (NotBefore/NotOnOrAfter ≤2 hours); (2) Enforce session timeouts of 4 hours or less with re-authentication required for sensitive operations; (3) Log all SAML assertion validations and alert on any timestamp validation failures; (4) Implement network-level access controls restricting Casdoor to corporate IP ranges; (5) Require multi-factor authentication for all Casdoor-authenticated accounts.
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
Same technique Denial Of Service
View allVendor StatusVendor
SUSE
Severity: Important| 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-32950
GHSA-rgq2-93gj-ffxg
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB