Exposure of Data Element to Wrong Session Affecting github.com/casdoor/casdoor/controllers package, versions >=0.0.0


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.23% (14th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMCASDOORCASDOORCONTROLLERS-17817953
  • published5 Jul 2026
  • disclosed28 May 2026
  • creditUnknown

Introduced: 28 May 2026

CVE-2026-9098  (opens in a new tab)
CWE-488  (opens in a new tab)

How to fix?

There is no fixed version for github.com/casdoor/casdoor/controllers.

Overview

Affected versions of this package are vulnerable to Exposure of Data Element to Wrong Session in the SAML callback handler process. An attacker can gain persistent unauthorized access by sending unsolicited or replayed SAML responses to the /api/acs endpoint, as the handler does not verify that the response corresponds to a previously issued AuthnRequest. This allows an attacker controlling a registered upstream IdP to issue or replay SAML responses, resulting in unauthorized session issuance. This is only exploitable if an attacker has control over a registered upstream Identity Provider or can capture and replay legitimate SAML responses.

References

CVSS Base Scores

version 4.0
version 3.1