CWE-294Weakness · CWE-294

CVE-2026-9095

HIGH · 8.1 CVSS v3.1 Published 2026-05-28
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
90/100
Remediation priority · Urgent
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

Casdoor versions 2.362.0 and earlier contain a SAML assertion replay vulnerability in ParseSamlResponse() (object/saml_sp.go). The function calls sp.RetrieveAssertionInfo() and immediately maps the result to a user session without implementing any replay protection—specifically lacking assertion ID caching, OneTimeUse condition enforcement, or replay detection. An attacker who captures a valid SAML assertion can replay it to obtain an authenticated session for the assertion's subject, including administrator accounts, without credentials or MFA.

MitigationImplement assertion ID caching to track used SAML assertion IDs and enforce OneTimeUse conditions per the SAML 2.0 specification to prevent replay attacks. The fix must validate assertion IDs aren't reused within the expected validity window.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify Casdoor version
    Locate the installed Casdoor version through the Docker image tag, binary version flag, Helm chart version, or by reviewing deployment manifests and package manager records. Compare the version against known affected releases.
    Affected if Running any Casdoor version with SAML SP support where replay protection is not implemented in ParseSamlResponse()
  2. Confirm SAML IdP is configured
    Review Casdoor configuration files (config.yaml, conf/*.ini, or environment variables) and check the SSO or SAML provider section. Look for configured SAML Identity Provider entries with metadata indicating an active IdP connection.
    Affected if A SAML IdP is connected and users can authenticate through the SAML SSO flow
  3. Verify replay protection is absent in ParseSamlResponse()
    Examine the Casdoor source code, specifically the ParseSamlResponse() function in the SAML service module. Look for the RetrieveAssertionInfo() call and check whether it performs assertion ID uniqueness validation, OneTimeUse condition checking, or queries a cache of previously consumed assertion IDs.
    Affected if ParseSamlResponse() maps the RetrieveAssertionInfo() result directly to a user session without any assertion ID validation or replay prevention logic
  4. Check for assertion ID cache
    Search the codebase for any assertion ID storage mechanism (database table, Redis, in-memory map) that tracks consumed SAML assertion IDs with TTL expiration. Look for cache lookups before accepting an assertion.
    Affected if No assertion ID cache exists in the implementation, meaning replayed assertions will be accepted without rejection

A Casdoor deployment is affected if SAML SSO is enabled and ParseSamlResponse() lacks assertion ID uniqueness checks and a cache to reject replayed SAML assertions.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Implement assertion ID caching to track used SAML assertion IDs and enforce OneTimeUse conditions per the SAML 2.0 specification to prevent replay attacks. The fix must validate assertion IDs aren't reused within the expected validity window.

Recommended fix Moderate confidence

Casdoor version 2.362.1 or later stable release

  1. 1. Identify the current Casdoor installation version using the administrative interface or by checking the binary version
  2. 2. Check the official Casdoor GitHub repository (github.com/casdoor/casdoor) for releases after version 2.362.0 that address this SAML replay vulnerability
  3. 3. Review the release notes and security advisories for version 2.362.1 or later to confirm the replay protection fix is included
  4. 4. Before upgrading, backup the Casdoor database and configuration files
  5. 5. Upgrade Casdoor to the latest stable release (version 2.362.1 or later) following the standard upgrade procedure
  6. 6. Verify that SAML login still functions correctly after the upgrade
  7. 7. Confirm that the ParseSamlResponse() function in object/saml_sp.go now includes assertion ID caching and OneTimeUse condition enforcement
Caveat Minor: Review release notes for any breaking changes between 2.362.0 and the target upgrade version; SAML configuration may need verification

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation4.0 h
  • Implementation12.0 h
  • Testing6.0 h
  • Review / QA3.0 h
25.0 hours of engineering $4,400
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $7,040.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-9095 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-9095 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data