CVE-2026-9095
Deferred Deferred - Pending Action
SAML Assertion Replay in Casdoor Leading to Session Hijacking

Publication date: 2026-05-28

Last updated on: 2026-05-28

Assigner: CERT/CC

Description
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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-28
Last Modified
2026-05-28
Generated
2026-06-17
AI Q&A
2026-05-28
EPSS Evaluated
2026-06-16
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
casdoor casdoor 2.362.0
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
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 Quick Actions
Instant insights powered by AI
Executive Summary

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.

Impact Analysis

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.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-9095. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart