GHSA-339w-3hqm-9pjc

Suggest an improvement
Source
https://github.com/advisories/GHSA-339w-3hqm-9pjc
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-339w-3hqm-9pjc/GHSA-339w-3hqm-9pjc.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-339w-3hqm-9pjc
Aliases
Published
2026-05-28T18:30:32Z
Modified
2026-07-07T16:11:09Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Casdoor doesn't verify that a JWT used for token exchange is still active
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-298"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-07-02T18:37:32Z",
    "nvd_published_at":  "2026-05-28T17:16:34Z",
    "severity":  "CRITICAL"
}
References

Affected packages

Go / github.com/casdoor/casdoor

Package

Name
github.com/casdoor/casdoor
View open source insights on deps.dev
Purl
pkg:golang/github.com/casdoor/casdoor

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
1.1000.1-0.20260321120606-239e8bd69487

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-339w-3hqm-9pjc/GHSA-339w-3hqm-9pjc.json"