Casdoor: GetTokenExchangeToken bypass through lack of cross-organization JWT signature check (CVE-2026-9094)
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.
AI Analysis
Technical Summary
The vulnerability in Casdoor (CVE-2026-9094) affects versions prior to 2.387.0. The GetTokenExchangeToken function validates JWT signatures but fails to verify that the token's user is part of the same organization as the target application. This missing cross-organization check enables attackers to exchange tokens across organizations, leading to unauthorized privilege escalation. The issue is classified under CWE-269 (Improper Privilege Management) and CWE-863 (Incorrect Authorization). The CVSS 3.1 vector indicates a critical severity with network attack vector, low attack complexity, no privileges required, no user interaction, and high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation allows attackers to bypass organizational boundaries by exchanging JWT tokens across organizations, resulting in privilege escalation. This can lead to unauthorized access to resources and actions within other organizations, severely compromising confidentiality, integrity, and availability of affected systems.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official patch or fix link is provided, users should monitor the Casdoor project for updates addressing this vulnerability. Until a fix is available, restrict token exchange functionality and enforce manual verification of organizational boundaries where possible.
Casdoor: GetTokenExchangeToken bypass through lack of cross-organization JWT signature check (CVE-2026-9094)
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.
CVSS v3.1
Score 9.8critical
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Casdoor (CVE-2026-9094) affects versions prior to 2.387.0. The GetTokenExchangeToken function validates JWT signatures but fails to verify that the token's user is part of the same organization as the target application. This missing cross-organization check enables attackers to exchange tokens across organizations, leading to unauthorized privilege escalation. The issue is classified under CWE-269 (Improper Privilege Management) and CWE-863 (Incorrect Authorization). The CVSS 3.1 vector indicates a critical severity with network attack vector, low attack complexity, no privileges required, no user interaction, and high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation allows attackers to bypass organizational boundaries by exchanging JWT tokens across organizations, resulting in privilege escalation. This can lead to unauthorized access to resources and actions within other organizations, severely compromising confidentiality, integrity, and availability of affected systems.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official patch or fix link is provided, users should monitor the Casdoor project for updates addressing this vulnerability. Until a fix is available, restrict token exchange functionality and enforce manual verification of organizational boundaries where possible.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-c9w5-qp6m-m395
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-9094"]
- Ecosystems
- ["Go"]
- Database Specific Severity
- CRITICAL
- Cvss Version
- 3.1
Threat ID: 6a50ba3c68715ace4357db09
Added to database: 07/10/2026, 09:24:12 UTC
Last enriched: 07/10/2026, 09:32:50 UTC
Last updated: 07/31/2026, 19:23:00 UTC
Views: 53
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.