Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify Casdoor SAML ACS endpoint
-
DeliveryAuthenticate to sibling SP via shared IdP
-
ExploitCapture signed SAMLResponse from browser
-
ExecutionPOST unmodified assertion to Casdoor ACS
-
PersistCasdoor skips Audience check and issues session
-
ImpactAccess downstream applications as spoofed identity
Vulnerability Assessment
| Exploitation Conditions | Exploitation requires that Casdoor is configured as a SAML Service Provider (the buildSp code path must be reached) AND that the IdP it federates with also issues assertions for at least one other service provider to which the attacker has legitimate access - the attacker needs a validly-signed SAML assertion bound by Audience to a different SP, which they then replay to Casdoor. The attack does not require credentials against Casdoor itself (PR:N) and needs no user interaction (UI:N) on the victim side, but it is bounded to deployments using SAML SSO and federated to a multi-tenant or multi-SP IdP; single-SP IdPs that only ever issue assertions audienced to Casdoor itself cannot supply a usable cross-audience assertion. Affected only on Casdoor versions ≤ 2.362.0. |
| Impact | The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H reflects an unauthenticated, network-reachable authentication bypass with full confidentiality, integrity and availability impact on the Casdoor identity tier - a realistic worst-case for an IAM product since compromise cascades to every downstream relying party. However, EPSS is exceptionally low at 0.02% (5th percentile) and the CVE is not on CISA KEV, indicating no observed mass exploitation; the 'Denial Of Service' tag in the input also conflicts with the description's authentication-bypass impact and appears to be miscategorized metadata that should be disregarded. Practical exploitability requires the attacker to first obtain a SAML assertion legitimately issued by a shared IdP for any other SP, which constrains the attack to environments where Casdoor trusts an IdP that also signs assertions for at least one other relying party - common in enterprise SSO but not in single-tenant deployments. Net assessment: high-severity-but-conditional; treat as priority patching for any Casdoor deployment federated to a multi-SP IdP, lower urgency for isolated single-SP setups. |
| Exploit ScenarioDerived | An attacker who is a legitimate user of any other service provider federated to the same IdP that Casdoor trusts obtains a signed SAML assertion intended for that other SP (for example, by completing a normal login flow and capturing the POSTed SAMLResponse from their browser). They then replay the unmodified, validly-signed assertion to Casdoor's SAML ACS endpoint; because Casdoor never checks the Audience, it accepts the assertion and provisions a Casdoor session under the attacker-controlled NameID, granting access to whatever applications Casdoor fronts. No public exploit identified at time of analysis, but the attack requires only an HTTP POST of a captured assertion. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 02, 2026
SAML authentication bypass in Casdoor 2.362.0 and earlier allows remote unauthenticated attackers to authenticate as arbitrary users by replaying SAML assertions issued for unrelated service providers, because the SP implementation never sets AudienceURI nor inspects NotInAudience warnings from gosaml2. Despite a 9.8 CVSS, EPSS is only 0.02% (5th percentile) and no public exploit identified at time of analysis, though the flaw is reported by CERT/CC which indicates coordinated disclosure rigor.
RemediationAI
No vendor-released patch identified at time of analysis from the provided references - the EUVD and CERT/CC VU#780781 entries do not cite a fixed Casdoor release version. Operators should monitor the Casdoor GitHub repository (casdoor/casdoor) for a release that updates object/saml_sp.go to populate the AudienceURI field on the gosaml2 SAMLServiceProvider struct and to reject assertions when WarningInfo.NotInAudience is true, and upgrade as soon as such a release is published. As a compensating control until then, configure the upstream IdP to issue Casdoor-bound assertions from a dedicated signing key or dedicated IdP entity that no other SP trusts, so cross-SP assertion replay becomes infeasible; alternatively, disable the SAML SP login flow in Casdoor and require an alternative protocol such as OIDC if the deployment supports it, accepting the side effect of breaking any existing SAML SSO integrations. If SAML must remain enabled, restrict network access to the Casdoor SAML ACS endpoint to known IdP egress addresses to raise the bar for assertion injection. Track https://kb.cert.org/vuls/id/780781 for updates.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Casdoor is an open-source identity and access management (IAM) platform supporting OAuth, SAML, CAS and other federated authentication protocols, and it embeds the gosaml2 library to act as a SAML Service Provider. SAML assertions contain an AudienceRestriction element naming the intended SP audience URI; correct SPs MUST reject assertions whose Audience does not match their own AudienceURI (a check the gosaml2 library exposes via the SAMLServiceProvider.AudienceURI field and the WarningInfo.NotInAudience flag). In object/saml_sp.go, the buildSp function instantiates the SP without populating AudienceURI and never inspects the NotInAudience warning, so the audience binding check is silently skipped. This is a classic CWE-287 / CWE-347 class issue (improper authentication / improper verification of cryptographic signature scope) - the assertion signature may be valid, but its scope binding to the intended relying party is not enforced.
Know when Casdoor gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
In Casdoor versions 2.362.0 and earlier, the SAML service provider implementation does not validate the AudienceRestriction element in SAML assertions. The buildSp function in object/saml_sp.go never sets AudienceURI on the gosaml2 SAMLServiceProvider struct and never inspects WarningInfo.NotInAudience. This allows assertions issued for other service providers to be accepted by Casdoor.
Executive ViewAI
Casdoor versions 2.362.0 and earlier contain a critical SAML authentication bypass (CVE-2026-9093, CVSS 9.8) that allows attackers to impersonate arbitrary users by replaying SAML assertions across unrelated service providers. Organizations using Casdoor for identity management face potential unauthorized account access and privilege escalation.
(1) Enforce AudienceURI validation in SAML assertion processing through code-level review and controls; (2) Implement mandatory multi-factor authentication for all accounts, especially administrative and privileged access; (3) Isolate Casdoor infrastructure on restricted network segments; (4) Deploy monitoring and alerting for repeated or suspicious SAML assertion reuse; (5) Disable cross-provider SAML federation if operationally unnecessary; (6) Implement assertion signature pinning or additional cryptographic verification beyond standard SAML validation.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Cross-organization user administration takeover in Casdoor through 4.4.0 allows any holder of a single application's cli
Casdoor through 4.4.0 exposes its instance-wide built-in JWT signing private key unmasked through the /api/get-certs and
Casdoor v1.97.3 was discovered to contain an arbitrary file write vulnerability via the fullFilePath parameter at /api/u
Casdoor is a UI-first Identity and Access Management (IAM) / Single-Sign-On (SSO) platform. Rated high severity (CVSS 8.
Casdoor before v1.126.1 was discovered to contain an arbitrary file deletion vulnerability via the uploadFile function.
Casdoor v1.331.0 and below was discovered to contain a Cross-Site Request Forgery (CSRF) in the endpoint /api/set-passwo
Casdoor is a UI-first Identity and Access Management (IAM) / Single-Sign-On (SSO) platform. Rated medium severity (CVSS
Cross-tenant privilege escalation in Casdoor allows a non-global organization admin in one tenant to delete, create, or
Path traversal in Casdoor's Local File System storage provider allows authenticated administrators to write arbitrary fi
Token revocation bypass in Casdoor identity management platform (versions 2.362.0 and earlier) allows remote unauthentic
Cross-organization token exchange in Casdoor versions 2.362.0 and earlier allows remote unauthenticated attackers to esc
Unauthenticated arbitrary file upload in Casdoor's /api/upload-resource endpoint (controllers/resource.go) exposes all v
Same technique Denial Of Service
View allVendor StatusVendor
SUSE
Severity: Critical| Product | Status |
|---|---|
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-32945
GHSA-3w4h-g9f5-j84p
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB