Aller au contenu
7.4 Élevée

CVE-2026-123799 SuperTokens Core: Dashboard session tokens are never checked for expiry: `isValidUserSession` ignores the stored `expiry`, so a long-expired admin session still authenticates

Produits et versions touchés

Produit Versions touchées Corrigé en
supertokens-core 12.1 12.1.0 → < 12.1.2 12.1.2
supertokens-core 12.0 12.0.0 → < 12.0.11 12.0.11
supertokens-core 11.4 11.4.0 → < 11.4.8 11.4.8
supertokens-core 11.3 11.3.0 → < 11.3.8 11.3.8
supertokens-core 11.2 11.2.0 → < 11.2.4 11.2.4
supertokens-core 11.1 11.1.0 → < 11.1.4 11.1.4
supertokens-core 11.0 11.0.0 → < 11.0.9 11.0.9

Description

SuperTokens Core is an open source authentication server. From 11.0.0 until 11.0.9, 11.1.4, 11.2.4, 11.3.8, 11.4.8, 12.0.11, and 12.1.2, Dashboard.isValidUserSession treats any stored session row as valid without comparing DashboardSessionInfo.expiry to the current time. DashboardQueries.getSessionInfoWithSessionId also selects by app and session identifier without an expiry predicate, leaving the periodic DeleteExpiredDashboardSessions cleanup as the only expiration enforcement. An attacker who obtains a dashboard administrator session after its 30-day lifetime can continue using POST /recipe/dashboard/session/verify until the row is removed, and frequent Core restarts can prevent the 12-hour cleanup sweep from running. The stale session retains full dashboard read and write access, but the flaw does not provide a way to guess or acquire the random session identifier. This issue is fixed in versions 11.0.9, 11.1.4, 11.2.4, 11.3.8, 11.4.8, 12.0.11, and 12.1.2.

Détail CVSS 3.1

Vecteur CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Exploitable à distance par le réseau, sans compte et sans action d’un utilisateur ; un attaquant peut compromettre gravement la confidentialité, l’intégrité ou la disponibilité.

Vecteur d’attaque
Réseau
Complexité
Élevée
Privilèges requis
Aucun
Interaction
Aucune
Portée
Inchangée
Confidentialité
Élevé
Intégrité
Élevé
Disponibilité
Aucun
Les 8 CVE de supertokens-core →
Suivre cette CVE