CVE-2026-9094: Vulnerability in github.com/casdoor/casdoor

Critical. 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.

Go, CWE-269, CWE-863

Exploitation
None confirmed
Severity
9.8 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-c9w5-qp6m-m395
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-269, CWE-863
Published
28 May 2026
Last change
9 Jul 2026
Ecosystem
Go

Affected packages

Vulnerable version ranges and fixed releases

  • github.com/casdoor/casdoor Go, Affected before 2.387.0. Fixed in 2.387.0

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes