Description
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.
Published: 2026-05-28
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Casdoor versions 2.362.0 and earlier allow a token exchange mechanism that verifies JWT signatures but fails to check that the token’s user belongs to the same organization as the target application. An attacker can therefore trade a token from one organization for a token in another, gaining elevated permissions and access to resources beyond their own organization. This flaw enables an escalated role within a different organizational context without any additional credentials.

Affected Systems

Casdoor is the affected product. All installations running version 2.362.0 or earlier are vulnerable. These are the publicly available releases of Casdoor up to and including 2.362.0.

Risk and Exploitability

The vulnerability carries a high risk of privilege escalation. The CVSS score is 9.8, indicating a critical level of severity. The EPSS score is < 1%, and it is not listed in CISA KEV, suggesting no known active exploitation yet. The likely attack vector is any user who can obtain a valid JWT from a source organization and call the GetTokenExchangeToken endpoint. An attacker does not need additional special privileges beyond credentialting an organization user, making exploitation relatively straightforward once the token exchange path is identified.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest Casdoor release (any version newer than 2.362.0) to remove the token exchange flaw.
  • If an immediate update is not possible, disable or restrict the GetTokenExchangeToken endpoint via firewall or application‑level controls until a patch is applied.
  • Implement additional organization‑membership validation on the application side to ensure that only users from the target organization can receive exchange tokens.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

References
History

Wed, 03 Jun 2026 05:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-285
CWE-754

Tue, 02 Jun 2026 19:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-284

Tue, 02 Jun 2026 17:30:00 +0000

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'}


Thu, 28 May 2026 19:30:00 +0000

Type Values Removed Values Added
First Time appeared Casdoor
Casdoor casdoor
Weaknesses CWE-284
Vendors & Products Casdoor
Casdoor casdoor

Thu, 28 May 2026 17:00:00 +0000

Type Values Removed Values Added
Description 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.
Title CVE-2026-9094
References

cve-icon MITRE

Status: PUBLISHED

Assigner: certcc

Published:

Updated: 2026-06-02T16:44:07.685Z

Reserved: 2026-05-20T15:04:30.259Z

Link: CVE-2026-9094

cve-icon Vulnrichment

Updated: 2026-06-02T15:48:46.866Z

cve-icon NVD

Status : Deferred

Published: 2026-05-28T17:16:34.337

Modified: 2026-06-02T17:16:38.783

Link: CVE-2026-9094

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-03T04:45:25Z

Weaknesses
  • CWE-285

    Improper Authorization

  • CWE-754

    Improper Check for Unusual or Exceptional Conditions