SuperTokens Core: Dashboard session tokens are never checked for expiry: `isValidUserSession` ignores the stored `expiry`, so a long-expired admin session still authenticates
CVE-2026-123799Published 9 Nov 2026, 18:07 UTC
Real-world risk
3.1/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.4
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| supertokens-coreNiche | >= 11.0.0, < 11.0.9; >= 11.1.0, < 11.1.4; >= 11.2.0, < 11.2.4; >= 11.3.0, < 11.3.8; >= 11.4.0, < 11.4.8; >= 12.0.0, < 12.0.11; >= 12.1.0, < 12.1.2 | 11.0.9, 11.1.4, 11.2.4, 11.3.8, 11.4.8, 12.0.11, 12.1.2 |
What to do
Update to a fixed version: 11.0.9, 11.1.4, 11.2.4, 11.3.8, 11.4.8, 12.0.11, 12.1.2.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.8% chance of exploitation in 30 days (percentile 57), as of 2026-12-06.
The arithmetic
- Prerequisites multiplied together0.450
- Threat T1: Nothing known0.850
- 10 × impact 0.8 × prerequisites 0.45 × threat 0.853.060
- Rounded to one decimal between 0.1 and 103.1
Exploitation and evidence timeline
- 9 Nov 2026 Published
- 3 Dec 2026 Risk 3.1 (cvss fallback)
Weakness
CWE-613
References
- https://github.com/supertokens/supertokens-core/security/advisories/GHSA-w9fp-wv6g-pqv8vendor-advisory
- https://github.com/supertokens/supertokens-core/pull/1409misc
- https://github.com/supertokens/supertokens-core/commit/0f4817152278b39fbf21b97c3795b4fc68c12c38misc
- https://github.com/supertokens/supertokens-core/commit/4b315b2382c8eec2cde28fbda113597bffad8da5misc
- https://github.com/supertokens/supertokens-core/commit/699d806b5fc77ee6343f8e48e0769dce8049b078misc
- https://github.com/supertokens/supertokens-core/commit/8906b840669b28b3af7367cf18870db0044d0d18misc
- https://github.com/supertokens/supertokens-core/commit/bd8eb93001cf814a8065e8f3cea755af267bc308misc
- https://github.com/supertokens/supertokens-core/commit/ced1c913d53641e5eb8108caef110e55348b5401misc
- https://github.com/supertokens/supertokens-core/commit/da0ec91d20ecbb68730741f8b0dec8c986b68877misc
- https://github.com/supertokens/supertokens-core/commit/e72793ec5bd925fd3b9ff19328043dc2a03201bdmisc
- https://github.com/supertokens/supertokens-core/releases/tag/v11.0.9misc
- https://github.com/supertokens/supertokens-core/releases/tag/v11.1.4misc
- https://github.com/supertokens/supertokens-core/releases/tag/v11.2.4misc
- https://github.com/supertokens/supertokens-core/releases/tag/v11.3.8misc
- https://github.com/supertokens/supertokens-core/releases/tag/v11.4.8misc
- https://github.com/supertokens/supertokens-core/releases/tag/v12.0.11misc
- https://github.com/supertokens/supertokens-core/releases/tag/v12.1.2misc
- CVE-2026-123799 on CVE.org