CVE-2026-9095
SAML Assertion Replay in Casdoor Leading to Session Hijacking
Publication date: 2026-05-28
Last updated on: 2026-05-28
Assigner: CERT/CC
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| casdoor | casdoor | 2.362.0 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-294 | A capture-replay flaw exists when the design of the product makes it possible for a malicious user to sniff network traffic and bypass authentication by replaying it to the server in question to the same effect as the original message (or with minor changes). |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability exists in Casdoor versions 2.362.0 and earlier, where SAML assertions are mapped to user sessions without any replay protection. Specifically, the ParseSamlResponse() function calls sp.RetrieveAssertionInfo() and immediately uses the result to create a user session. However, there is no mechanism such as an assertion ID cache, enforcement of OneTimeUse conditions, or replay detection in the SAML service provider code. This allows an attacker to reuse a previously captured SAML assertion to gain an authenticated session as the assertion's subject, including administrator accounts, without needing the user's password or multi-factor authentication credentials.
How can this vulnerability impact me? :
The vulnerability can have severe impacts as it allows attackers to bypass authentication controls by replaying captured SAML assertions. This means an attacker can gain unauthorized access to user accounts, including those with administrative privileges, without needing passwords or MFA tokens. Such unauthorized access can lead to data breaches, unauthorized actions within the system, and compromise of sensitive information.