Advisory

GHSA-c9w5-qp6m-m395

Also known as: CVE-2026-9094, GO-2026-5953

Summary

Casdoor: GetTokenExchangeToken bypass through lack of cross-organization JWT signature check

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2026-05-28 18:30 UTC
Modified
2026-07-21 19:19 UTC

Affected packages and fixes

github.com/casdoor/casdoor

Go · All systems

Affected

  • introduced 0, fixed 2.387.0 (semver)

Fixed versions

2.387.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences