top of page
perceptive_background_267k.jpg

Shiori's CheckToken function (internal/domains/auth.go) validates only the JWT's HMAC signature and returns the embedded claims.Account object unmodified, never…

Published:

5 August 2026 at 00:00:00

Alert date:

5 August 2026 at 11:07:41

Source:

nvd.nist.gov

Click to open the original link from this advisory

Identity & Access, Web Technologies

Shiori, an open-source bookmark manager, contains a critical authentication flaw in its CheckToken function located in internal/domains/auth.go. The function validates only the JWT HMAC signature and returns embedded claims without re-fetching account data from the database. No session store or token revocation mechanism exists in the codebase. As a result, deleting an account or demoting it from owner to a regular role does not invalidate previously issued tokens. A deleted or demoted owner's JWT continues to authenticate with full owner-level privileges until the token naturally expires. With 'remember me' enabled, tokens can remain valid for up to 30 days, creating a significant privilege persistence risk.

Technical details

Mitigation steps:

Affected products:

Shiori

Related links:

Related CVE's:

Related threat actors:

IOC's:

This article was created with the assistance of AI technology by Perceptive.

© 2025 by Perceptive Security. All rights reserved.

email: info@perceptivesecurity.com

Disclaimer: Deze website toont informatie afkomstig van externe bronnen. Perceptive aanvaardt geen verantwoordelijkheid voor de inhoud, juistheid of volledigheid van deze informatie.

bottom of page