Skip to main content

SuperTokens Core CVE-2026-123799

| EUVDEUVD-2026-120163 HIGH
Insufficient Session Expiration (CWE-613)
2026-11-09 GitHub_M
7.4
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain leaked stale dashboard admin session id
  2. Delivery
    Reach dashboard verify endpoint over network
  3. Exploit
    POST /recipe/dashboard/session/verify with expired token
  4. Execution
    Expiry never compared, session accepted as valid
  5. Impact
    Full dashboard read/write over user store

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V7 - Session Management Session expiration enforcement
Exploitation Conditions

Exploitation requires the attacker to already hold a dashboard administrator session id whose 30-day lifetime has expired - a random v4 UUID generated via SecureRandom that the flaw gives no means to guess, brute-force, or acquire, so it must be captured from where it was retained past its intended life (old browser storage on a shared or decommissioned machine, an access/proxy log, a database or backup copy, or a departed administrator's device), plus network reachability to the POST /recipe/dashboard/session/verify endpoint. Limiting factors that reduce realistic risk below the base score: the mandatory prior theft of a valid-but-expired token, the typical placement of the Core behind network controls, and the usually small number of dashboard admins. The exposure window is normally under 12 hours past the 30-day lifetime (bounded by the DeleteExpiredDashboardSessions cron's first sweep), but becomes effectively indefinite on a Core that restarts more often than every 12 hours - rolling deploys, Kubernetes, autoscaling, or config reloads - because the cron's 12-hour initial delay means its sweep never runs.

Impact

Signals point to a moderate, conditional risk rather than a drop-everything emergency. The CVSS vector (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N, base 7.4) scores High and advertises PR:N, which under the raw metrics reads as unauthenticated - but AC:H is doing heavy lifting: the GHSA evidence makes clear the attacker must already possess a stale dashboard administrator session id, a random v4 UUID from SecureRandom that the flaw provides no way to guess, brute-force, or mint. So this is a failure to enforce session expiry (CWE-613), not a path to obtain a session; PR:N is technically correct (no authentication step is performed) yet materially misleading about real access requirements. No CISA KEV listing is present (not actively exploited per that signal) and no EPSS score was supplied, so widespread automated exploitation is not evidenced. A detailed, measured PoC exists inside the vendor advisory, but it is the reporter's own reproduction against a stock image, not an independently confirmed weaponized exploit. The vuln.today decision label is 'this_week', consistent with a patch-promptly posture rather than act_now/emergency. Net: a genuine privilege-persistence bug worth patching on a normal cycle, whose real-world severity is bounded by the hard precondition of already holding a leaked admin token and typically a sub-12-hour exposure window past the 30-day lifetime - though that window becomes indefinite on cores that restart more often than every 12 hours, which defeats the cleanup cron entirely.

Exploit ScenarioDerived

A former administrator's dashboard session id (a 30-day token) lingers in an access log, a database backup, or old browser storage on a decommissioned laptop. Long after the 30-day lifetime has elapsed, an attacker who recovers that id replays it to POST /recipe/dashboard/session/verify and is still authenticated as the dashboard admin with full read/write over the user store, because expiry is never compared to the current time. A measured PoC demonstrating this (aging the row ~5.67 years and still getting status OK) is published in the vendor's GHSA advisory; attack complexity is high because the attacker must first come into possession of the stale token.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.8% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 09, 2026

Expired dashboard administrator sessions in SuperTokens Core keep authenticating: the Core's session-verification path never compares the stored expiry to the current time, so a dashboard session that has outlived its 30-day lifetime still grants full read and write access to the user store through POST /recipe/dashboard/session/verify. The flaw is a failure to enforce expiry (CWE-613), not a way to obtain a session - the session id is a random v4 UUID from SecureRandom that cannot be guessed, so an attacker must first come into possession of a stale token retained in browser storage, a proxy or access log, a database backup, or a departed administrator's device, and the exposure window is normally bounded at under 12 hours by the cleanup cron but can become indefinite on a Core that restarts more often than every 12 hours. Versions 11.0.0 through the 11.x and 12.x lines listed below are affected and fixed releases are published; the advisory includes a measured proof-of-concept procedure, but there is no CISA KEV listing and no indication of active exploitation, and the priority signal is this_week rather than an emergency.

RemediationAI

Vendor-released patches exist for every affected branch: upgrade to 11.0.9, 11.1.4, 11.2.4, 11.3.8, 11.4.8, 12.0.11 or 12.1.2 depending on the line in use (advisory GHSA-w9fp-wv6g-pqv8, upstream PR https://github.com/supertokens/supertokens-core/pull/1409); the patched code rejects an expired session at verification time and revokes the row so it no longer authenticates even on a frequently restarted Core. Read the release notes before upgrading: the same CHANGELOG carries an upgrade note that the Core now verifies the database schema at startup and, with the default schema_check_strict_mode: true, refuses to start when the base database is missing a manual migration, so run the migration SQL from the CHANGELOGs (or set schema_check_strict_mode: false, which defers the schema guarantee) before rolling out. Because the only mechanism that ends a stale session is deletion of its row, operators who cannot patch immediately can delete rows whose expiry has already passed directly from the dashboard_user_sessions table - this reproduces the cleanup sweep's effect but removes rows by hand and must be repeated, and it does nothing about the missing check itself. Keeping the Core behind existing network controls and limiting who can reach POST /recipe/dashboard/session/verify reduces exposure to anyone holding a stale id, and avoiding restarts more frequent than every 12 hours lets the cleanup cron run at least once, though neither restores the intended expiry enforcement.

Affected VersionsENISA

supertokens-core 11.1.0, < 11.1.4
supertokens-core 11.0.0, < 11.0.9
supertokens-core 11.4.0, < 11.4.8
supertokens-core 12.1.0, < 12.1.2
supertokens-core 12.0.0, < 12.0.11
supertokens-core 11.3.0, < 11.3.8
supertokens-core 11.2.0, < 11.2.4

Affected Packages

euvd supertokens_core fix: 11.0.9, 11.1.4, 11.2.4, 11.3.8, 11.4.8, 12.0.11, 12.1.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

SuperTokens Core is a Java authentication server; the Dashboard recipe issues long-lived administrator sessions stored in a dashboard_user_sessions table (30-day DASHBOARD_SESSION_DURATION) that are resolved on each verification call. The root cause is CWE-613, insufficient session expiration, implemented as an omission rather than a logic error: Dashboard.isValidUserSession (Dashboard.java:397-409 at v12.1.x) fetches the row via StorageUtils.getDashboardStorage(...).getSessionInfoWithSessionId(appIdentifier, sessionId), checks only whether the user is suspended, and returns true whenever the row exists - DashboardSessionInfo.expiry is never consulted - while DashboardQueries.getSessionInfoWithSessionId builds the statement "SELECT * FROM <dashboardSessionsTable> WHERE app_id = ? AND session_id = ?" with no expiry predicate, so the invariant is not enforced in storage either. The only code path that ever ends a dashboard session is the DeleteExpiredDashboardSessions cron, and outside tests getInitialWaitTimeSeconds() returns the 12-hour getIntervalTimeSeconds(), meaning the first sweep only runs 12 hours after process start; a Core restarted more frequently than that (rolling deploys, Kubernetes, autoscaling, config reloads) never runs it. The method shape is the same in the in-memory storage implementation and the caller is storage-independent, but the published measurement was taken on the official supertokens/supertokens-postgresql:12.1 image against postgres:16-alpine. The upstream fix (PR #1409) adds an isSessionExpired check at verification time that also revokes the expired row, plus a regression test asserting that an expired session is rejected, that the email is not leaked, and that the row is deleted.

Know when Supertokens Core gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.4 HIGH
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 7.4 HIGH

AV:N via the HTTP verify endpoint; AC:H because the attacker must first obtain a stale random session id; PR:N/UI:N as no auth step or user interaction occurs; C:H/I:H for full dashboard read/write, A:N.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

2
Patch available
Nov 09, 2026 - 19:02 EUVD
CVE Published
Nov 09, 2026 - 18:07 cve.org
HIGH 7.4

DescriptionCVE.org

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.

Technical POC Analysis

CWE-613, Insufficient Session Expiration.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

SuperTokens Core (versions 11.0.0 through 12.x) fails to enforce expiration of dashboard administrator sessions, allowing stale session tokens to retain full read/write access to the user store well beyond the intended 30-day lifetime. This is particularly dangerous for organizations with high Core restart frequency, where expired sessions can persist indefinitely, affecting administrators and potentially exposing sensitive user data.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.8%
Top 44% exploitable
Prevalence
Low
self-hosted open-source auth server, modest footprint; only the admin dashboard affected
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.8%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +37
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy