CVE-2026-9098: Casdoor SAML Callback Handler Vulnerability Allows Unauthorized Access

github.com/casdoor/casdoor Updated 03 Jul 2026

Summary

28/05/2026
No i
Critical
9.1

CVE-2026-9098: 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 b... Affects github.com/casdoor/casdoor versions < 1.1000.1-0.20260321120606-239e8bd69487. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Casdoor is an open-source identity and access management platform that provides authentication and authorization services for applications. It supports various authentication protocols, including SAML, which allows users to log in using their identity provider (IdP). The platform is designed to facilitate secure user management and access control, making it a critical component for applications that require robust security measures. However, a vulnerability in the SAML callback handler compromises its integrity, allowing unauthorized access to user sessions.

Vulnerability Detail

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 its correspondence to an AuthnRequest previously issued by Casdoor. This flaw allows an attacker controlling a registered upstream IdP to send unsolicited SAML responses or replay a legitimately captured response in a different session. Consequently, this vulnerability can lead to persistent unauthorized access, as Casdoor accepts the response and issues a session without proper validation.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, administrators should ensure that their IdP configurations are secure and monitor for any unauthorized SAML responses. Additionally, consider implementing additional validation checks on the SAML responses received by the application until the update can be applied.

Conclusion

The vulnerability identified as CVE-2026-9098 in Casdoor poses a significant risk by allowing unauthorized access through improper handling of SAML responses. It is crucial for users to update to the latest version to secure their applications and prevent potential exploitation.

See every vulnerability recorded for github.com/casdoor/casdoor →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 9.1, indicating a critical level of severity.

Casdoor versions 2.362.0 and earlier are affected by this vulnerability.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.

The vulnerability can lead to unauthorized access to user sessions, allowing attackers to impersonate users and gain persistent access to the application.

Yes, implementing additional validation checks on SAML responses and ensuring secure IdP configurations can help mitigate the risk until the patch is applied.

Related vulnerabilities

Recent vulnerabilities recorded for github.com/casdoor/casdoor.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback