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.
Published: 2026-05-28
Score: 8.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Casdoor versions 2.362.0 and earlier map captured SAML assertions directly to authenticated sessions without any replay protection. The ParseSamlResponse function accepts an assertion, extracts the user information, and immediately creates a session, overlooking whether the assertion has been used before. An attacker who has intercepted a valid SAML assertion can simply resend it to obtain a new authenticated session for the asserted subject, potentially including administrative accounts, and therefore gain full access without needing the user’s password or MFA tokens. This flaw constitutes a high‑impact session hijacking vulnerability that undermines authentication integrity and can lead to privilege escalation.

Affected Systems

The affected vendor is Casdoor, product Casdoor. All deployments running Casdoor 2.362.0 or earlier are vulnerable. No specific downstream product versions are listed beyond the primary product identifier.

Risk and Exploitability

The CVSS score of 8.1 indicates a high severity flaw. Because the EPSS score is not available, the exact exploit probability is unknown, but the flaw can be leveraged simply by capturing any legitimate SAML assertion and replaying it, which is a relatively low‑effort attack vector. The vulnerability is not listed in the CISA KEV catalog, but its impact and lack of preventive controls warrant immediate attention.

Generated by OpenCVE AI on May 28, 2026 at 18:51 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Casdoor to the latest release that implements replay protection for SAML assertions.
  • If an immediate upgrade is not possible, configure the SAML SP to enforce the OneTimeUse condition and reject any assertions that do not contain or have already been seen.
  • If the implementation allows, add or enable an assertion ID cache in the CASDAOR SP to track and reject reused assertion identifiers.

Generated by OpenCVE AI on May 28, 2026 at 18:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

References
History

Thu, 28 May 2026 19:00:00 +0000

Type Values Removed Values Added
First Time appeared Casdoor
Casdoor casdoor
Vendors & Products Casdoor
Casdoor casdoor

Thu, 28 May 2026 17:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-294
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 28 May 2026 17:00:00 +0000

Type Values Removed Values Added
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.
Title CVE-2026-9095
References

cve-icon MITRE

Status: PUBLISHED

Assigner: certcc

Published:

Updated: 2026-05-28T17:07:58.870Z

Reserved: 2026-05-20T15:04:41.651Z

Link: CVE-2026-9095

cve-icon Vulnrichment

Updated: 2026-05-28T17:07:29.920Z

cve-icon NVD

Status : Deferred

Published: 2026-05-28T17:16:34.460

Modified: 2026-05-28T18:16:36.320

Link: CVE-2026-9095

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-28T19:00:16Z

Weaknesses
  • CWE-294

    Authentication Bypass by Capture-replay