CVE-2026-71206
shiori: JWT CheckToken Never Re-Validates Account State, Allowing Stale-Privilege Access After Deletion or Demotion
CVSS Score
8.2
EPSS Score
0.0%
EPSS Percentile
0th
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. Deleting an account or demoting it from owner to a regular role has no effect on tokens already issued to that account โ a deleted or demoted owner's token continues authenticating with its original owner-level privileges until natural expiry, which can be up to 30 days with 'remember me' enabled.
| CWE | CWE-613 |
| Vendor | go-shiori |
| Product | shiori |
| Published | Aug 5, 2026 |
Stay Ahead of the Next One
Get instant alerts for go-shiori shiori
Be the first to know when new high vulnerabilities affecting go-shiori shiori are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
Affected Versions
go-shiori / shiori
0
Credits
Eldor Nabijonov