Description
Casdoor versions 2.362.0 and earlier do not enforce SAML assertion time bounds. The gosaml2 library reports all time-validation results, including NotOnOrAfter and NotBefore, in the assertionInfo.WarningInfo field. However, ParseSamlResponse() never reads this field, meaning that time bounds are computed by the library but silently discarded before the user session is issued.
Published: 2026-05-28
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Casdoor versions 2.362.0 and earlier do not enforce the validity window of SAML assertions. The gosaml2 library calculates the NotBefore and NotOnOrAfter bounds, but Casdoor never consults the warning field that holds those results, effectively discarding the time checks before a user session is issued. Based on the description, it is inferred that an attacker could send a SAML assertion that is already expired or not yet valid to bypass these checks, enabling unauthorized authentication. The weakness stems from a missing validation step in the authentication flow and can be classified as a broken authentication issue, potentially allowing credential replay or session hijacking. The vulnerability directly impacts the authentication mechanism, compromising confidentiality, integrity, and availability of user sessions.

Affected Systems

Casdoor publisher Casdoor, specifically the Casdoor application itself. Versions up to and including 2.362.0 are affected; any release newer than 2.362.0 should be considered safe.

Risk and Exploitability

The vulnerability is a medium‑to‑high severity authentication flaw, as reflected by a CVSS score of 7.5. The EPSS score of < 1% indicates a low likelihood of exploitation in the wild, and no public exploits have been recorded. The likely attack vector is a remote SAML assertion injection, which an attacker can supply over the network to the authentication endpoint. Because the time bounds are silently discarded, an attacker could potentially replay expired credentials or use future‑dated assertions, creating a real risk of unauthorized access. The flaw is independent of network or local privilege requirements, making it relatively easy to exploit once an SAML assertion is in hand.

Generated by OpenCVE AI on June 3, 2026 at 04:52 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Casdoor to a version newer than 2.362.0, ensuring the library’s time‑bound checks are applied.
  • If an upgrade cannot yet be performed, add an external check that validates the NotBefore and NotOnOrAfter fields in incoming SAML assertions before accepting them, implementing proper authentication and access control.
  • Monitor authentication logs for sessions that use assertions outside their nominal validity window, flagging potential credential replay attacks.

Generated by OpenCVE AI on June 3, 2026 at 04:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

References
History

Wed, 03 Jun 2026 11:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-287

Wed, 03 Jun 2026 02:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-284
CWE-287

Tue, 02 Jun 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


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

Type Values Removed Values Added
Weaknesses CWE-284
CWE-287

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:00:00 +0000

Type Values Removed Values Added
Description Casdoor versions 2.362.0 and earlier do not enforce SAML assertion time bounds. The gosaml2 library reports all time-validation results, including NotOnOrAfter and NotBefore, in the assertionInfo.WarningInfo field. However, ParseSamlResponse() never reads this field, meaning that time bounds are computed by the library but silently discarded before the user session is issued.
Title CVE-2026-9096
References

cve-icon MITRE

Status: PUBLISHED

Assigner: certcc

Published:

Updated: 2026-06-02T16:43:58.432Z

Reserved: 2026-05-20T15:05:04.383Z

Link: CVE-2026-9096

cve-icon Vulnrichment

Updated: 2026-06-02T15:49:23.988Z

cve-icon NVD

Status : Deferred

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

Modified: 2026-06-02T17:16:38.920

Link: CVE-2026-9096

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-03T05:00:12Z

Weaknesses