Description
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.
Published: 2026-05-28
Score: 9.1 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Casdoor versions prior to 2.362.0 allow an attacker to bypass authentication by submitting a SAML response that contains an arbitrary X.509 signing certificate. The buildSpCertificateStore routine extracts the certificate directly from the incoming SAMLResponse instead of validating it against the trusted Identity Provider certificate configured in the system. Because of this, an attacker can forge signed assertions using a key of their own choosing, causing the application to accept the assertion as valid and log the attacker in with the asserted identity. This leads to unauthorized access and potential full compromise of the system.

Affected Systems

The affected vendor is Casdoor, with the product name Casdoor. All releases of Casdoor up to and including version 2.362.0 are impacted. Users running any of these versions should verify whether they are using a newer build that addresses the issue.

Risk and Exploitability

The vulnerability provides remote authentication bypass via the SAML protocol. Although no public exploit code is indicated, the mechanism is straightforward to leverage from any network location that can reach the SAML endpoint, such as a corporate intranet. The EPSS score is <1%, indicating a very low but nonzero probability of exploitation, and the vulnerability is not listed in the CISA KEV catalog. The high CVSS score of 9.1 indicates severe risk. The likely attack vector is a crafted SAMLResponse sent to the Casdoor service, but the actual exploitation requires access to the SAML endpoint and a valid Identity Provider configuration.

Generated by OpenCVE AI on May 29, 2026 at 23:22 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to a Casdoor release newer than 2.362.0 when it becomes available.
  • Reconfigure the application so that it validates incoming SAML responses only against the pre-configured Identity Provider certificate and rejects any certificate that is not trusted.
  • If an upgrade or strict validation configuration cannot be applied immediately, disable or remove the SAML SSO feature from the installation to eliminate the attack surface.

Generated by OpenCVE AI on May 29, 2026 at 23:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

References
History

Fri, 29 May 2026 23:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-285

Fri, 29 May 2026 22:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-295
CWE-307

Fri, 29 May 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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

ssvc

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


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

Type Values Removed Values Added
First Time appeared Casdoor
Casdoor casdoor
Weaknesses CWE-295
CWE-307
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 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.
Title CVE-2026-9090
References

cve-icon MITRE

Status: PUBLISHED

Assigner: certcc

Published:

Updated: 2026-05-29T19:41:34.129Z

Reserved: 2026-05-20T15:03:52.700Z

Link: CVE-2026-9090

cve-icon Vulnrichment

Updated: 2026-05-29T19:41:29.136Z

cve-icon NVD

Status : Deferred

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

Modified: 2026-05-29T20:16:31.450

Link: CVE-2026-9090

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-29T23:30:10Z

Weaknesses