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
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.
Fixes and workarounds
No remediation reported in collected sources.
Missing remediation information is not evidence that no patch exists.
Affected products and versions
| Product | Versions | Authority |
|---|---|---|
| supertokens-core supertokens |
>= 11.0.0, < 11.0.9 (affected) >= 11.1.0, < 11.1.4 (affected) >= 11.2.0, < 11.2.4 (affected) >= 11.3.0, < 11.3.8 (affected) >= 11.4.0, < 11.4.8 (affected) >= 12.0.0, < 12.0.11 (affected) >= 12.1.0, < 12.1.2 (affected) |
CNA: GitHub_M |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 3.1 / 7.4 high |
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N | CNA: GitHub_M |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://github.com/supertokens/supertokens-core/security/advisories/GHSA-w9fp-wv6g-pqv8CNA: GitHub_M · x_refsource_CONFIRM
- https://github.com/supertokens/supertokens-core/pull/1409CNA: GitHub_M · x_refsource_MISC
- https://github.com/supertokens/supertokens-core/commit/0f4817152278b39fbf21b97c3795b4fc68c12c38CNA: GitHub_M · x_refsource_MISC
- https://github.com/supertokens/supertokens-core/commit/4b315b2382c8eec2cde28fbda113597bffad8da5CNA: GitHub_M · x_refsource_MISC
- https://github.com/supertokens/supertokens-core/commit/699d806b5fc77ee6343f8e48e0769dce8049b078CNA: GitHub_M · x_refsource_MISC
- https://github.com/supertokens/supertokens-core/commit/8906b840669b28b3af7367cf18870db0044d0d18CNA: GitHub_M · x_refsource_MISC
- https://github.com/supertokens/supertokens-core/commit/bd8eb93001cf814a8065e8f3cea755af267bc308CNA: GitHub_M · x_refsource_MISC
- https://github.com/supertokens/supertokens-core/commit/ced1c913d53641e5eb8108caef110e55348b5401CNA: GitHub_M · x_refsource_MISC
- https://github.com/supertokens/supertokens-core/commit/da0ec91d20ecbb68730741f8b0dec8c986b68877CNA: GitHub_M · x_refsource_MISC
- https://github.com/supertokens/supertokens-core/commit/e72793ec5bd925fd3b9ff19328043dc2a03201bdCNA: GitHub_M · x_refsource_MISC
- https://github.com/supertokens/supertokens-core/releases/tag/v11.0.9CNA: GitHub_M · x_refsource_MISC
- https://github.com/supertokens/supertokens-core/releases/tag/v11.1.4CNA: GitHub_M · x_refsource_MISC
- https://github.com/supertokens/supertokens-core/releases/tag/v11.2.4CNA: GitHub_M · x_refsource_MISC
- https://github.com/supertokens/supertokens-core/releases/tag/v11.3.8CNA: GitHub_M · x_refsource_MISC
- https://github.com/supertokens/supertokens-core/releases/tag/v11.4.8CNA: GitHub_M · x_refsource_MISC
- https://github.com/supertokens/supertokens-core/releases/tag/v12.0.11CNA: GitHub_M · x_refsource_MISC
- https://github.com/supertokens/supertokens-core/releases/tag/v12.1.2CNA: GitHub_M · x_refsource_MISC
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.