Skip to main content

Casdoor EUVDEUVD-2026-32950

| CVE-2026-9096 HIGH
2026-05-28 certcc GHSA-rgq2-93gj-ffxg
7.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Obtain previously-valid SAML response
  2. Delivery
    POST replayed assertion to Casdoor ACS
  3. Exploit
    gosaml2 flags expiry in WarningInfo
  4. Execution
    ParseSamlResponse() ignores WarningInfo
  5. Persist
    Casdoor issues session for impersonated user
  6. Impact
    Access 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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 – 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

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

NVD PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
SUSE HIGH

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

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

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 95% exploitable
Threat Intel
1
1 sources
Data Quality
5 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 HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

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

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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: 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

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