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
Mitigation
- Upgrade supertokens-core to 12.1.2 or later.
Who should check
- Anyone running supertokens-core >= 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
Vulnerability facts
- Affected
- supertokens-core >= 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
- Fixed in
- supertokens-core 11.0.9, supertokens-core 11.1.4, supertokens-core 11.2.4, supertokens-core 11.3.8, supertokens-core 11.4.8, supertokens-core 12.0.11, supertokens-core 12.1.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.4 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: None
- EPSS
- 0.72% chance of exploitation in 30 days (percentile 50, 2026-11-26)
- CWE
- CWE-613
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| supertokens-core | >= 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 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-123799. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-123799.md Affected: supertokens-core >= 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 Fixed in: supertokens-core 11.0.9, supertokens-core 11.1.4, supertokens-core 11.2.4, supertokens-core 11.3.8, supertokens-core 11.4.8, supertokens-core 12.0.11, supertokens-core 12.1.2 Steps: 1. Search this machine and project for supertokens-core: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- https://github.com/supertokens/supertokens-core/pull/1409
- https://github.com/supertokens/supertokens-core/commit/0f4817152278b39fbf21b97c3795b4fc68c12c38
- https://github.com/supertokens/supertokens-core/commit/4b315b2382c8eec2cde28fbda113597bffad8da5
- https://github.com/supertokens/supertokens-core/commit/699d806b5fc77ee6343f8e48e0769dce8049b078
- https://github.com/supertokens/supertokens-core/commit/8906b840669b28b3af7367cf18870db0044d0d18
- https://github.com/supertokens/supertokens-core/commit/bd8eb93001cf814a8065e8f3cea755af267bc308
- https://github.com/supertokens/supertokens-core/commit/ced1c913d53641e5eb8108caef110e55348b5401
- https://github.com/supertokens/supertokens-core/commit/da0ec91d20ecbb68730741f8b0dec8c986b68877
- https://github.com/supertokens/supertokens-core/commit/e72793ec5bd925fd3b9ff19328043dc2a03201bd
Other
- https://github.com/supertokens/supertokens-core/releases/tag/v11.0.9
- https://github.com/supertokens/supertokens-core/releases/tag/v11.1.4
- https://github.com/supertokens/supertokens-core/releases/tag/v11.2.4
- https://github.com/supertokens/supertokens-core/releases/tag/v11.3.8
- https://github.com/supertokens/supertokens-core/releases/tag/v11.4.8
- https://github.com/supertokens/supertokens-core/releases/tag/v12.0.11
- https://github.com/supertokens/supertokens-core/releases/tag/v12.1.2
FAQ
Is CVE-2026-123799 being exploited?
There is no confirmed exploitation: CVE-2026-123799 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.72% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-123799?
High: CVSS 7.4 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-123799?
supertokens-core >= 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.
Is there a fix for CVE-2026-123799?
Yes. Fixed in supertokens-core 11.0.9, supertokens-core 11.1.4, supertokens-core 11.2.4, supertokens-core 11.3.8, supertokens-core 11.4.8, supertokens-core 12.0.11, supertokens-core 12.1.2. Upgrade supertokens-core to 12.1.2 or later.
How do I check if I'm affected by CVE-2026-123799?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.