Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconIdentify exposed Casdoor SAML ACS endpoint
-
DeliveryGenerate attacker-controlled X.509 keypair
-
ExploitCraft SAMLResponse impersonating target user
-
InstallSign assertion and embed attacker certificate inline
-
C2POST forged response to ACS
-
ExecutebuildSpCertificateStore trusts attacker certificate
-
ImpactAuthenticated session issued for impersonated identity
Vulnerability Assessment
| Exploitation Conditions | The target Casdoor instance (≤2.362.0) must have at least one SAML Identity Provider configured and its SAML Assertion Consumer Service endpoint must be reachable by the attacker over the network - exploitation requires submitting a crafted SAMLResponse to that endpoint, so deployments that do not expose SAML SP functionality (OAuth/OIDC-only) are not exploitable via this code path. No user interaction, no prior authentication, and no knowledge of the legitimate IdP's signing key are required (AV:N/AC:L/PR:N/UI:N); the attacker only needs to know or guess the username they wish to impersonate and the federation/provider identifier expected by Casdoor. The primary limiting factor is therefore network reachability of the SAML ACS endpoint and the presence of SAML federation in the deployment, not any authentication or platform-specific prerequisite. |
| Impact | The CVSS 3.1 base score of 9.1 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N) accurately reflects a network-reachable, low-complexity, unauthenticated bypass with high confidentiality and integrity impact - appropriate for an IdP/SSO product where authentication is the entire trust boundary. SSVC reinforces this with Automatable=yes and Technical Impact=total, meaning a single crafted SAMLResponse can repeatedly impersonate any user. However, EPSS is only 0.01% (1st percentile) and CISA SSVC Exploitation is 'none', and the vulnerability is not on CISA KEV, so there is no public exploit identified at time of analysis. The 'Denial Of Service' tag from the source feed conflicts with the CVSS impact profile (C:H/I:H/A:N) and the description (authentication bypass) - the tag appears mislabeled and should be disregarded in favor of the authentication-bypass framing. Net assessment: high-severity, high-priority for any Casdoor operator acting as a SAML SP, even though wild exploitation has not been observed yet. |
| Exploit ScenarioDerived | An attacker generates a self-signed X.509 keypair, crafts a SAMLResponse asserting that they are the Casdoor administrator (or any target user), signs the assertion with their own private key, and embeds the matching public certificate inline in the <ds:KeyInfo> element. They POST this response to the Casdoor SAML ACS endpoint; buildSpCertificateStore extracts the attacker's certificate, the signature validates against it, and Casdoor issues a session for the impersonated user. No public exploit identified at time of analysis, but the attack is straightforward to script using any SAML toolkit (python-saml, OpenSAML), consistent with SSVC Automatable=yes. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 29, 2026
Authentication bypass in Casdoor identity and access management platform (versions ≤2.362.0) allows remote unauthenticated attackers to forge SAML assertions signed with attacker-controlled keys, impersonating arbitrary users. The flaw resides in the buildSpCertificateStore function, which trusts the X.509 certificate embedded in the inbound SAMLResponse rather than validating against the pre-configured Identity Provider certificate. No public exploit identified at time of analysis, and EPSS is currently low (0.01%), but SSVC flags the issue as automatable with total technical impact.
RemediationAI
No vendor-released patch identified at time of analysis from the supplied references - the EUVD entry lists 0 ≤ 2.362.0 as affected without naming a fixed release, so operators should monitor the Casdoor GitHub repository and CERT/CC VU#780781 (https://kb.cert.org/vuls/id/780781) for the upgrade target and apply it as soon as it is published. Until a fix is available, compensating controls should focus on the SAML SP code path: disable SAML-based login providers in Casdoor and force users onto OAuth/OIDC or local auth if business workflows permit (trade-off: breaks federated SSO with external IdPs); restrict network access to the SAML ACS (Assertion Consumer Service) endpoint to only the egress IP ranges of trusted IdPs via reverse-proxy ACLs or WAF rules (trade-off: will not stop an attacker who can spoof or reach from a trusted network segment, and breaks IdP-initiated SSO from roaming users); and add a WAF rule that strips or rejects SAMLResponse bodies containing inline <ds:X509Certificate> elements that do not match the fingerprint of the configured IdP certificate (trade-off: brittle, may break legitimate IdPs that include their cert in the response).
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-as-a-Service (IDaaS) and Single Sign-On platform that supports SAML 2.0 as a federation protocol (cpe:2.3:a:casdoor:casdoor). In a correctly implemented SAML Service Provider, the SP must verify the signature on the IdP's <Response> or <Assertion> using a certificate that was previously exchanged and pinned during federation setup (the IdP metadata or trust store). Here, buildSpCertificateStore extracts the X.509 certificate directly from the <ds:KeyInfo>/<ds:X509Certificate> element inside the incoming SAMLResponse and uses it to validate the signature - a classic improper-trust-establishment pattern aligned with CWE-347 (Improper Verification of Cryptographic Signature) and CWE-287 (Improper Authentication). Although the input lists CWE as N/A, the root cause is that the certificate used for verification is attacker-controlled, so any self-generated keypair will produce a 'valid' signature over a forged assertion.
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:N
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
Casdoor versions 2.362.0 and earlier contain a vulnerability that allows an attacker to bypass authentication by supplying an arbitrary signing certificate. The buildSpCertificateStore function extracts the X.509 certificate directly from the incoming SAMLResponse instead of using the trusted pre-configured Identity Provider certificate, allowing an attacker to forge assertions signed with an attacker-controlled key.
Executive ViewAI
Casdoor identity platform versions 2.362.0 and earlier contain a critical authentication bypass enabling attackers to forge SAML assertions and impersonate any user. Organizations using affected versions face enterprise-wide loss of access control integrity, permitting unauthorized system access and data exposure across all integrated applications and downstream systems.
No vendor-released patch identified at time of analysis. Interim mitigations: Strict network segmentation limiting Casdoor access to authorized internal networks only; comprehensive SAML assertion and authentication event logging with real-time anomaly detection; disable all external network access to affected instances; implement additional user authentication verification in downstream systems; prepare and maintain identity provider replacement or failover architecture; monitor Casdoor maintainer security announcements daily for patch availability.
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
SAML authentication bypass in Casdoor 2.362.0 and earlier allows remote unauthenticated attackers to authenticate as arb
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-32941
GHSA-fwgq-j9r9-qjgr
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB