Skip to main content

Casdoor CVE-2026-9095

| EUVDEUVD-2026-32949 HIGH
Authentication Bypass by Capture-replay (CWE-294)
2026-05-28 certcc GHSA-jcmp-phfm-38x8
8.1
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Identify Casdoor SAML SP endpoint
  2. Delivery
    Capture valid SAMLResponse via log/proxy/co-tenant
  3. Exploit
    Replay assertion to /api/acs
  4. Execution
    Receive authenticated session cookie
  5. Persist
    Access target account including admin
  6. Impact
    Pivot 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.

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

casdoor 0 ≤2.362.0

Affected Packages

euvd casdoor no fix

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

NVD PRIMARY 8.1 HIGH
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

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

Lifecycle Timeline

2
CVSS changed
May 28, 2026 - 18:22 NVD
8.1 (HIGH)
CVE Published
May 28, 2026 - 16:25 nvd
UNKNOWN (no severity yet)

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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.0%
Top 87% exploitable
Data Quality
5 sources
Confidence: Medium

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
No
Human Impact
Very High
Technical Impact
Total

Priority Score

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

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