shiori - JWT CheckToken Never Re-Validates Account State, Allowing Stale-Privilege Access After Deletion or Demotion
go-shiori shiori
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| go-shiori shiori |
| No fix yet |
Original description
Shiori's CheckToken function (internal/domains/auth.go) validates only the JWT's HMAC signature and returns the embedded claims.Account object unmodified, never re-fetching the account from the database. No session store or token-revocation mechanism exists in the codebase.
From the CVE record · TuranSec