GHSA-fpw6-hrg5-q5x5
High · 7.4ech0's acess tokens with expiry=never cannot be revoked: logout panics, delete does not blacklist JTI
CVSS
7.4
EPSS
—
Published
May 7, 2026
CISA due date
—
The record
Access tokens created with the "never expire" option have no `exp` JWT claim. Three independent revocation mechanisms fail for this token type. Logout at `internal/handler/auth/auth.go:154` and `:163` dereferences `claims.ExpiresAt.Time`, panicking on the nil field so the token never hits the blacklist. `RevokeToken` at `internal/repository/auth/auth.go:45-50` skips when `remainTTL <= 0`. The admin's "Delete token" panel action at `internal/service/setting/access_token_service.go:183-185` removes the database record but does not call `RevokeToken` to blacklist the JTI. Once a never-expire token leaks, the JWT stays cryptographically valid until the admin rotates the signing key across the entire instance.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-55250 Maravel, a PHP framework oriented towards dependency injection, prior to version 10.74.0… CWE-613
- CVE-2026-86215 A vulnerability was identified in Mstfakts College-Management-System. CWE-613
- CVE-2026-55513 nebula-mesh is a self-hosted control plane for Slack Nebula mesh VPN. CWE-613
- CVE-2026-61608 SolidInvoice is an open-source invoicing platform. CWE-613
- CVE-2026-84480 WWBN AVideo fails to validate password recovery token expiration in… CWE-613
- CVE-2026-84203 Memos versions 0.26.0 through 0.30.0 fail to revoke refresh tokens when a user changes… CWE-613
- CVE-2026-82909 A vulnerability was determined in QuantumNous new-api up to 1.0.0-rc.15. CWE-613
- CVE-2026-82469 Rodauth before 2.47.0 contains an authentication bypass vulnerability in the jwt_refresh… CWE-613