# 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

Status: published. Published: 2026-11-09. Updated: 2026-11-09.

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.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- supertokens / supertokens-core: >= 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). Source: CNA: GitHub_M

## Severity and prioritization

- CVSS 3.1: 7.4 (high); CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N; source: CNA: GitHub_M

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: Not available

- Weaknesses: CWE-613

## 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-pqv8 (CNA: GitHub_M; x_refsource_CONFIRM)

- https://github.com/supertokens/supertokens-core/pull/1409 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/supertokens/supertokens-core/commit/0f4817152278b39fbf21b97c3795b4fc68c12c38 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/supertokens/supertokens-core/commit/4b315b2382c8eec2cde28fbda113597bffad8da5 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/supertokens/supertokens-core/commit/699d806b5fc77ee6343f8e48e0769dce8049b078 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/supertokens/supertokens-core/commit/8906b840669b28b3af7367cf18870db0044d0d18 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/supertokens/supertokens-core/commit/bd8eb93001cf814a8065e8f3cea755af267bc308 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/supertokens/supertokens-core/commit/ced1c913d53641e5eb8108caef110e55348b5401 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/supertokens/supertokens-core/commit/da0ec91d20ecbb68730741f8b0dec8c986b68877 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/supertokens/supertokens-core/commit/e72793ec5bd925fd3b9ff19328043dc2a03201bd (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/supertokens/supertokens-core/releases/tag/v11.0.9 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/supertokens/supertokens-core/releases/tag/v11.1.4 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/supertokens/supertokens-core/releases/tag/v11.2.4 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/supertokens/supertokens-core/releases/tag/v11.3.8 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/supertokens/supertokens-core/releases/tag/v11.4.8 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/supertokens/supertokens-core/releases/tag/v12.0.11 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/supertokens/supertokens-core/releases/tag/v12.1.2 (CNA: GitHub_M; x_refsource_MISC)

## Provenance

- CNA: GitHub_M: https://www.cve.org/CVERecord?id=CVE-2026-123799; retrieved 2026-11-09; source updated 2026-11-09

Revision: 399d0813a75465b4e579ed59ad799e7628c9e7e5d20926948cee56810d6b247a

Canonical: https://y2.dev/cve/CVE-2026-123799

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.