Skip to main content

Casdoor EUVDEUVD-2026-32945

| CVE-2026-9093 CRITICAL
2026-05-28 certcc GHSA-3w4h-g9f5-j84p
9.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify Casdoor SAML ACS endpoint
  2. Delivery
    Authenticate to sibling SP via shared IdP
  3. Exploit
    Capture signed SAMLResponse from browser
  4. Execution
    POST unmodified assertion to Casdoor ACS
  5. Persist
    Casdoor skips Audience check and issues session
  6. Impact
    Access 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

casdoor 0 ≤2.362.0

Affected Packages

go github.com/casdoor/casdoor no fix
euvd casdoor no fix

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

NVD PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
SUSE CRITICAL

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
CVSS changed
Jun 02, 2026 - 17:22 NVD
9.8 (CRITICAL)
CVE Published
May 28, 2026 - 16:21 nvd
UNKNOWN (no severity yet)

DescriptionCVE.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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

(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

EPSS Score
0.0%
Top 95% exploitable
Threat Intel
1
1 sources
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2026-91998 CRITICAL POC
9.4 Sep 15

Cross-organization user administration takeover in Casdoor through 4.4.0 allows any holder of a single application's cli

CVE-2026-90942 CRITICAL POC
9.3 Sep 14

Casdoor through 4.4.0 exposes its instance-wide built-in JWT signing private key unmasked through the /api/get-certs and

CVE-2022-38638 CRITICAL POC
9.1 Sep 09

Casdoor v1.97.3 was discovered to contain an arbitrary file write vulnerability via the fullFilePath parameter at /api/u

CVE-2024-41657 HIGH POC
8.8 Aug 20

Casdoor is a UI-first Identity and Access Management (IAM) / Single-Sign-On (SSO) platform. Rated high severity (CVSS 8.

CVE-2022-44942 HIGH POC
8.1 Dec 07

Casdoor before v1.126.1 was discovered to contain an arbitrary file deletion vulnerability via the uploadFile function.

CVE-2023-34927 MEDIUM POC
6.5 Jun 22

Casdoor v1.331.0 and below was discovered to contain a Cross-Site Request Forgery (CSRF) in the endpoint /api/set-passwo

CVE-2024-41658 MEDIUM POC
6.1 Aug 20

Casdoor is a UI-first Identity and Access Management (IAM) / Single-Sign-On (SSO) platform. Rated medium severity (CVSS

CVE-2026-15630 CRITICAL
9.9 Jul 23

Cross-tenant privilege escalation in Casdoor allows a non-global organization admin in one tenant to delete, create, or

CVE-2026-6815 MEDIUM POC
5.9 May 11

Path traversal in Casdoor's Local File System storage provider allows authenticated administrators to write arbitrary fi

CVE-2026-9097 CRITICAL
9.8 May 28

Token revocation bypass in Casdoor identity management platform (versions 2.362.0 and earlier) allows remote unauthentic

CVE-2026-9094 CRITICAL
9.8 May 28

Cross-organization token exchange in Casdoor versions 2.362.0 and earlier allows remote unauthenticated attackers to esc

CVE-2026-84423 MEDIUM POC
5.5 Sep 01

Unauthenticated arbitrary file upload in Casdoor's /api/upload-resource endpoint (controllers/resource.go) exposes all v

Vendor 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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy