Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/casdoor/casdoor
  4. ›
  5. CVE-2026-9094

CVE-2026-9094: Casdoor: GetTokenExchangeToken bypass through lack of cross-organization JWT signature check

May 28, 2026 (updated July 9, 2026)

Casdoor versions 2.362.0 and earlier contain a vulnerability enabling cross-organization token exchange. The GetTokenExchangeToken function in object/token_oauth.go validates JWT signatures but does not verify that the token’s user belongs to the same organization as the target application. This can result in privilege escalation across organizational boundaries.

References

  • github.com/advisories/GHSA-c9w5-qp6m-m395
  • github.com/casdoor/casdoor/commit/d92b8568686d
  • kb.cert.org/vuls/id/780781
  • nvd.nist.gov/vuln/detail/CVE-2026-9094

Code Behaviors & Features

Detect and mitigate CVE-2026-9094 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.387.0

Fixed versions

  • 2.387.0

Solution

Upgrade to version 2.387.0 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-269: Improper Privilege Management
  • CWE-863: Incorrect Authorization

Source file

go/github.com/casdoor/casdoor/CVE-2026-9094.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 09 Aug 2026 12:18:53 +0000.