Casdoor doesn't enforce SAML assertion time bounds (CVE-2026-9096)
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.
AI Analysis
Technical Summary
Casdoor, an open-source identity and access management platform, uses the gosaml2 library to process SAML assertions. Although gosaml2 reports time-validation results including NotOnOrAfter and NotBefore in the assertionInfo.WarningInfo field, Casdoor's ParseSamlResponse() function does not read or enforce these time bounds. As a result, SAML assertions are accepted regardless of their time validity, violating expected security controls on assertion lifetime. This issue is tracked as CVE-2026-9096 and classified under CWE-613 (Insufficient Session Expiration).
Potential Impact
The failure to enforce SAML assertion time bounds means that expired or not-yet-valid assertions could be accepted, potentially allowing unauthorized or replayed authentication sessions. While confidentiality and integrity are not directly impacted, the availability impact is rated high due to possible session misuse or unauthorized access persistence.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should consider additional compensating controls such as external validation of SAML assertion timestamps or restricting session lifetimes through other means. Monitor the official Casdoor repository and advisories for updates addressing this vulnerability.
Casdoor doesn't enforce SAML assertion time bounds (CVE-2026-9096)
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.
CVSS v3.1
Score 7.5high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Casdoor, an open-source identity and access management platform, uses the gosaml2 library to process SAML assertions. Although gosaml2 reports time-validation results including NotOnOrAfter and NotBefore in the assertionInfo.WarningInfo field, Casdoor's ParseSamlResponse() function does not read or enforce these time bounds. As a result, SAML assertions are accepted regardless of their time validity, violating expected security controls on assertion lifetime. This issue is tracked as CVE-2026-9096 and classified under CWE-613 (Insufficient Session Expiration).
Potential Impact
The failure to enforce SAML assertion time bounds means that expired or not-yet-valid assertions could be accepted, potentially allowing unauthorized or replayed authentication sessions. While confidentiality and integrity are not directly impacted, the availability impact is rated high due to possible session misuse or unauthorized access persistence.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should consider additional compensating controls such as external validation of SAML assertion timestamps or restricting session lifetimes through other means. Monitor the official Casdoor repository and advisories for updates addressing this vulnerability.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-rgq2-93gj-ffxg
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-9096"]
- Ecosystems
- ["Go"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a46ecbe27e9c7971943d0b5
Added to database: 07/02/2026, 22:57:02 UTC
Last enriched: 07/02/2026, 23:15:34 UTC
Last updated: 07/31/2026, 19:23:00 UTC
Views: 10
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.