Skip to content
High 8.3 Web Application

Vulnerability in Shiori

CVE-2026-71206 First seen on SecPulse

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

shiori では、認証トークン(JWT)の検証時にデータベース上のアカウント状態を再確認せず、トークンに埋め込まれた情報をそのまま信用します。そのため、アカウントを削除されたり権限を下げられたりした後も、古いトークンで権限を使い続けられるおそれがあります。影響を受ける版や修正版の情報は、最新の情報を確認してください。

What is the problem

JWTのHMAC署名を検証するだけで、アカウント情報を再取得しない問題。

Affected scope

ShioriのCheckToken関数 (internal/domains/auth.go)

Severity

アカウントが削除またはデモートされてもトークンが有効なため、高いセキュリティリスクがあります。

How to fix

トークン検証時にアカウント情報をデータベースから再取得するよう修正し、トークン失効メカニズムを実装する。

Workaround

トークンの有効期限を短く設定し、手動でのトークン管理を検討する。

Detection

発行済みトークンを検証し、アカウント変更が反映されていないものを確認する。

Original description The description as published by the source.

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.

Source: NIST National Vulnerability Database NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details