CVE-2026-123799
SuperTokens Core: Dashboard session tokens are never checked for expiry: `isValidUserSession` ignores the stored `expiry`, so a long-expired admin session…
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.72%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 49.9% of all scored CVEs. Scores of 26 Nov 2026.
The assessment of CISA (SSVC, 9 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-613 DEPRECATED: Insufficient Session Expiration
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| supertokens-core |
affected >= 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
|
Is my server affected?
Find the installed version of supertokens-core and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i supertokens-core
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-123799 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-123799RHEL, Rocky, Alma, Fedora
rpm -q supertokens-core
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-123799Alpine
apk list --installed | grep -i supertokens-coreWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-123799
trivy image --scanners vuln IMAGE | grep CVE-2026-123799
PatchBrief makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Install the agent.
References
Advisories
Other references
- https://github.com/supertokens/supertokens-core/pull/1409 github.com
- https://github.com/supertokens/supertokens-core/commit/0f4817152278b39fbf21b97c3795b4fc68c12c38 github.com
- https://github.com/supertokens/supertokens-core/commit/4b315b2382c8eec2cde28fbda113597bffad8da5 github.com
- https://github.com/supertokens/supertokens-core/commit/699d806b5fc77ee6343f8e48e0769dce8049b078 github.com
- https://github.com/supertokens/supertokens-core/commit/8906b840669b28b3af7367cf18870db0044d0d18 github.com
- https://github.com/supertokens/supertokens-core/commit/bd8eb93001cf814a8065e8f3cea755af267bc308 github.com
- https://github.com/supertokens/supertokens-core/commit/ced1c913d53641e5eb8108caef110e55348b5401 github.com
- https://github.com/supertokens/supertokens-core/commit/da0ec91d20ecbb68730741f8b0dec8c986b68877 github.com
- https://github.com/supertokens/supertokens-core/commit/e72793ec5bd925fd3b9ff19328043dc2a03201bd github.com
- https://github.com/supertokens/supertokens-core/releases/tag/v11.0.9 github.com
- https://github.com/supertokens/supertokens-core/releases/tag/v11.1.4 github.com
- https://github.com/supertokens/supertokens-core/releases/tag/v11.2.4 github.com
4 more
- https://github.com/supertokens/supertokens-core/releases/tag/v11.3.8 github.com
- https://github.com/supertokens/supertokens-core/releases/tag/v11.4.8 github.com
- https://github.com/supertokens/supertokens-core/releases/tag/v12.0.11 github.com
- https://github.com/supertokens/supertokens-core/releases/tag/v12.1.2 github.com
Source: the record CVE-2026-123799 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.