CVE-2026-9097

CVE-2026-9097

Published May 28, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

Casdoor versions up to 2.362.0 validate JSON Web Tokens for signature and claims but do not verify whether the token being exchanged has been revoked in the Token table. The GetTokenExchangeToken() function therefore allows an attacker who possesses a valid JWT to obtain a new token even after an administrator has revoked or invalidated the original token, enabling continued access after a session should have been terminated.

Affected Systems

The vulnerability applies to all releases of Casdoor by Casdoor through version 2.362.0 inclusive. Any deployment that uses the token exchange endpoint in those versions is susceptible, with no particular edition or component excluded.

Risk and Exploitability

The EPSS score of less than 1% indicates that the exploitation likelihood is low at present, yet the CVSS rating of 9.8 signals a critical severity if the vulnerability is exploited. The issue is not listed in the CISA KEV catalog, so no evidence of active exploitation is documented. Exploitation requires possessing a valid JWT and accessing the exposed token exchange endpoint; once the token is exchanged, the attacker can maintain authenticated access without triggering revocation checks.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Casdoor to a newer release that implements revocation verification in the token exchange process, addressing the authorization weakness.
  • If an immediate upgrade is not feasible, modify the token exchange endpoint to perform an explicit lookup of the subject token in the Token table and reject any that are marked revoked or deleted before issuing a new token.
  • As a temporary measure, disable the token exchange functionality until a patch or custom update is applied.

Generated by OpenCVE AI on June 3, 2026 at 04:34 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-339w-3hqm-9pjc Casdoor doesn't verify that a JWT used for token exchange is still active
References
History
Type Values Removed Values Added
Weaknesses CWE-284
Type Values Removed Values Added
Weaknesses CWE-285
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-285
Type Values Removed Values Added
Weaknesses CWE-284
Type Values Removed Values Added
Weaknesses CWE-862
Type Values Removed Values Added
First Time appeared Casdoor
Casdoor casdoor
Weaknesses CWE-284
CWE-862
Vendors & Products Casdoor
Casdoor casdoor
Type Values Removed Values Added
Description 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.
Title CVE-2026-9097
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
certcc
Published
Updated
Jun 2, 2026, 4:43 PM
Reserved
May 20, 2026, 3:05 PM
Status
Deferred
Published
May 28, 2026, 5:16 PM
Modified
Jun 17, 2026, 11:04 AM