CVE-2026-71206: CWE-613 Insufficient Session Expiration in go-shiori shiori
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.
AI Analysis
Technical Summary
The vulnerability in go-shiori's shiori involves the CheckToken function (internal/domains/auth.go) which validates JWT tokens solely by checking the HMAC signature and then returns the embedded claims.Account object without revalidating the account status from the database. This design lacks a session store or token revocation mechanism, resulting in insufficient session expiration (CWE-613). This flaw could allow attackers to use tokens beyond their intended lifetime or after account changes, potentially leading to unauthorized access. The CVSS 3.1 score is 8.2 (high), reflecting network attack vector, low attack complexity, low privileges required, no user interaction, and high impact on confidentiality and integrity, with low impact on availability.
Potential Impact
The vulnerability allows an attacker with a valid JWT token to maintain access beyond the intended session lifetime because tokens are not revoked or revalidated against the current account state. This can lead to unauthorized access to sensitive information (high confidentiality impact) and unauthorized actions (high integrity impact). Availability impact is low. No known exploits are reported in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should consider implementing additional session management controls externally, such as token expiration enforcement and revocation mechanisms. Monitoring for unusual token usage patterns may help detect exploitation attempts.
CVE-2026-71206: CWE-613 Insufficient Session Expiration in go-shiori shiori
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.
CVSS v3.1
Score 8.2high
Affected software
go-shiori
shiori
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in go-shiori's shiori involves the CheckToken function (internal/domains/auth.go) which validates JWT tokens solely by checking the HMAC signature and then returns the embedded claims.Account object without revalidating the account status from the database. This design lacks a session store or token revocation mechanism, resulting in insufficient session expiration (CWE-613). This flaw could allow attackers to use tokens beyond their intended lifetime or after account changes, potentially leading to unauthorized access. The CVSS 3.1 score is 8.2 (high), reflecting network attack vector, low attack complexity, low privileges required, no user interaction, and high impact on confidentiality and integrity, with low impact on availability.
Potential Impact
The vulnerability allows an attacker with a valid JWT token to maintain access beyond the intended session lifetime because tokens are not revoked or revalidated against the current account state. This can lead to unauthorized access to sensitive information (high confidentiality impact) and unauthorized actions (high integrity impact). Availability impact is low. No known exploits are reported in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should consider implementing additional session management controls externally, such as token expiration enforcement and revocation mechanisms. Monitoring for unusual token usage patterns may help detect exploitation attempts.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- TuranSec
- Date Reserved
- 2026-08-05T06:56:15.799Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a72e5cbbf8831d539735249
Added to database: 08/05/2026, 07:27:07 UTC
Last enriched: 08/12/2026, 14:25:51 UTC
Last updated: 09/19/2026, 22:01:37 UTC
Views: 49
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.