Skip to content
OpenAdvisories
Critical · 9.1 CVE-2026-9098 EUVD-2026-32952GHSA-mfvp-7p3v-x9mhGO-2026-5898

CVE-2026-9098

Published May 28, 2026 · Updated Jun 2, 2026 · Assigned by certcc

Description

In Casdoor versions 2.362.0 and earlier, the SAML callback handler in controllers/auth.go accepts any well-formed SAMLResponse sent to /api/acs without verifying that it corresponds to an AuthnRequest previously issued by Casdoor. Additionally, if an administrator disables or deletes an IdP (Identity Provider) after a SAML flow has started, the handler still processes the response using the provider snapshot loaded at the start of the request. As a result, an attacker controlling a registered upstream IdP can send unsolicited SAML responses, or replay a legitimately captured response in a different session or after the original flow has ended. In both cases, Casdoor accepts the response and issues a session, enabling persistent unauthorized access.

Affected products

VendorProductAffectedFixed
Casdoor Casdoor ≤ 2.362.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/casdoor/casdoor <= 1.1000.1-0.20260321120606-239e8bd69487 — GHSA-mfvp-7p3v-x9mh
Go github.com/casdoor/casdoor all versions — GO-2026-5898

Advisories 1

References