CRITICAL 9.8
GHSA-339w-3hqm-9pjc
Casdoor doesn't verify that a JWT used for token exchange is still active
Details
Casdoor versions 2.362.0 and earlier do not verify that a JWT used for token exchange is still active. The GetTokenExchangeToken() function in object/token_oauth.go validates the JWT signature and parses its claims, but never queries the Token table to verify whether the subject token has been revoked or invalidated. Because the revocation check is entirely absent, administrators are unable to terminate active sessions or revoke compromised tokens.
Are you affected?
Enter the version of the package you're using.
Affected packages
Go / github.com/casdoor/casdoor
Introduced in:
0 No fixed version published yet for github.com/casdoor/casdoor (go modules). Pin to a known-safe version or switch to an alternative.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-9097 [ADVISORY]
- https://github.com/casdoor/casdoor [PACKAGE]
- https://kb.cert.org/vuls/id/780781 [WEB]