Casdoor: GetTokenExchangeToken bypass through lack of cross-organization JWT signature check
Critical severity
GitHub Reviewed
Published
May 28, 2026
to the GitHub Advisory Database
•
Updated Jul 9, 2026
Description
Published by the National Vulnerability Database
May 28, 2026
Published to the GitHub Advisory Database
May 28, 2026
Reviewed
Jul 9, 2026
Last updated
Jul 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