Skip to main content

SuperTokens Core EUVDEUVD-2026-120149

| CVE-2026-123800 CRITICAL
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-11-09 GitHub_M
9.9
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Hold valid API key for one app
  2. Delivery
    Send v2 update targeting parent CUD
  3. Exploit
    Rewrite CUD and sibling api_keys
  4. Execution
    Issue valid sessions as sibling users
  5. Persist
    Create sibling dashboard user for persistence
  6. Impact
    Full takeover of sibling applications

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
Exploitation Conditions

Requires a licensed (enterprise MULTI_TENANCY feature) SuperTokens Core deployment configured with more than one application under a single non-default connection URI domain where those applications carry separate api_keys, and the attacker must possess a valid API key for at least one application under that CUD (PR:L). The primary takeover path abuses the CUD-target branch, which checked only the connection-URI-domain string without requiring the source app and tenant to be public, combined with api_keys being absent from PROTECTED_CONFIGS. A secondary variant is reachable because the identifier field is optional in the v2 create/update handlers, so omitting it collapses the target to the base tenant, bypassing all permission branches and the enterprise-feature gate - but this variant only alters firstFactors, required secondary factors and recipe-enabled flags (login integrity/availability) and still rejects coreConfig, so it does not achieve key theft. LIMITING FACTORS: not exploitable in default single-tenant, unlicensed, or single-app-per-CUD deployments; requires an already-valid app-scoped API key; no fix exists at the configuration level, so patching is the only complete remediation.

Impact

This is a genuine high priority, not an inflated CVSS score. The signals align consistently: CVSS 3.1 base 9.9 (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H) reflects a network-reachable, low-complexity, low-privilege authorization flaw (CWE-639/CWE-863) that crosses a security boundary (Scope:Changed), and the vuln.today Decision label is act_now with a vendor patch available - so remediation should not be deferred. The attacker prerequisite is modest: possession of one application's valid API key (consistent with PR:L), after which two update 'hops' yield full read/write over sibling applications' users and sessions, session issuance as any sibling user, persistence via a sibling dashboard user, and lockout of the victim app's key. Tempering the raw score: exploitation is scoped to a specific deployment shape - a licensed (enterprise) multi-tenant deployment placing more than one application under a single non-default connection URI domain with separate api_keys - so environments not using this configuration are not exposed, even though the product itself may be running. Missing/uncertain signals to note explicitly: no EPSS score was provided, the CVE is NOT listed in CISA KEV (no confirmed active exploitation), and no standalone weaponized exploit was supplied - though the vendor confirmed reproduction on v12.2.0 and shipped an end-to-end regression test, so the mechanism is well understood and reproducible. The 'Authentication Bypass' tag is slightly imprecise; this is fundamentally broken authorization / cross-tenant privilege escalation (IDOR-class) that secondarily enables authenticating as other users, which matches the CWE-639/863 classification better than classic auth bypass.

Exploit ScenarioDerived

In a licensed multi-tenant SuperTokens Core deployment where applications a1 and a2 live under one connection URI domain (CUD) with their own api_keys, an attacker who legitimately holds a1's API key sends a v2 create/update request targeting the parent CUD; because the CUD permission branch only compared the domain string and api_keys is not a protected config, the request rewrites the CUD's api_keys (hop 1), after which the attacker - now the CUD's public app - rewrites sibling a2's api_keys (hop 2), reads a2's users, and has core mint valid sessions for any of them while a2's own key returns 401. No standalone public exploit was provided, but the vendor confirmed reproduction on v12.2.0 and included an end-to-end regression test in the patch, so the path is fully reproducible with only a valid app-scoped API key (no user interaction).

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 09, 2026

Privilege escalation in SuperTokens Core 6.0.0 through 12.3.0 (fixed in the listed branch releases) lets an attacker who already holds one application's API key in a licensed multi-tenant deployment rewrite the parent connection URI domain's API keys and then take over sibling applications under that domain. Successful exploitation can read or modify sibling users, issue sessions as those users, establish persistence through a sibling dashboard user, and lock out the victim application's own key; a secondary base-tenant variant can alter firstFactors, required secondary factors, and recipe-enabled flags, affecting login integrity and availability. The flaw is limited to deployments with more than one application under a single non-default connection URI domain with separate api_keys-default single-tenant, unlicensed, and single-app-per-CUD deployments are not affected-and the advisory documents reproduction on v12.2.0, while no public exploit code was identified in the supplied intelligence; vendor patches are available in 6.0.24, 7.0.23, 8.0.7, 9.0.6, 9.1.6, 9.2.7, 9.3.5, 10.0.8, 10.1.9, 11.0.9, 11.1.4, 11.2.4, 11.3.8, 11.4.8, 12.0.11, 12.1.2, 12.2.1, and 12.3.1.

RemediationAI

Vendor-released patch: upgrade to the fixed version for the deployed branch-6.0.24, 7.0.23, 8.0.7, 9.0.6, 9.1.6, 9.2.7, 9.3.5, 10.0.8, 10.1.9, 11.0.9, 11.1.4, 11.2.4, 11.3.8, 11.4.8, 12.0.11, 12.1.2, 12.2.1, or 12.3.1. The fix tightens the CUD branch to require the source to be the base tenant or the public app and public tenant of the same CUD, adds an explicit rejection for a base target unless the source is base, and makes the identifier field required in the v2 create/update handlers; see GHSA-4rf2-xqvf-8rcx and the referenced commits. The advisory states there is no configuration-level workaround for a multi-tenant deployment that places several applications under one connection URI domain with separate api_keys, so patching is the only complete remediation.

Affected VersionsENISA

supertokens-core 12.3.0, < 12.3.1
supertokens-core 12.1.0, < 12.1.2
supertokens-core 7.0.0, < 7.0.23
supertokens-core 11.1.0, < 11.1.4
supertokens-core 8.0.0, < 8.0.7
supertokens-core 9.3.0, < 9.3.5
supertokens-core 11.2.0, < 11.2.4
supertokens-core 11.3.0, < 11.3.8
supertokens-core 12.0.0, < 12.0.11
supertokens-core 9.1.0, < 9.1.6
supertokens-core 11.4.0, < 11.4.8
supertokens-core 6.0.0, < 6.0.24
supertokens-core 12.2.0, < 12.2.1
supertokens-core 10.0.0, < 10.0.8
supertokens-core 9.0.0, < 9.0.6
supertokens-core 11.0.0, < 11.0.9
supertokens-core 9.2.0, < 9.2.7
supertokens-core 10.1.0, < 10.1.9

Affected Packages

euvd supertokens_core fix: 6.0.24, 7.0.23, 8.0.7, 9.0.6, 9.1.6, 9.2.7, 9.3.5, 10.0.8, 10.1.9, 11.0.9, 11.1.4, 11.2.4, 11.3.8, 11.4.8, 12.0.11, 12.1.2, 12.2.1, 12.3.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

SuperTokens Core is a Java authentication server whose multi-tenancy layer uses TenantIdentifier values (connection URI domain, app ID, tenant ID) to authorize create/update requests. The root cause is an authorization bypass in Multitenancy.checkPermissionsForCreateOrUpdate (src/main/java/io/supertokens/multitenancy/Multitenancy.java): the connection-URI-domain branch accepted a source when it was the base tenant or merely matched the target's connection-URI-domain string, without requiring the source's appId and tenantId to be public, so a principal scoped to (cud1, a1, public) could pass for target (cud1, public, public); because api_keys is not in PROTECTED_CONFIGS, that request can rewrite the parent domain's keys. The adjacent tenant and app branches check the full app/tenant identifiers, making the CUD branch the weak point; this maps to CWE-639 (Authorization Bypass Through User-Controlled Key) and CWE-863 (Incorrect Authorization). A second path uses the optional identifier field in the v2 create/update handlers: omitting it collapses the target to the base tenant, where all three permission branches evaluate false and the enterprise-feature gate is skipped, allowing changes to firstFactors, required secondary factors, and recipe-enabled flags, although coreConfig is still rejected.

Know when Supertokens Core gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 9.9 CRITICAL
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
vuln.today AI 9.9 CRITICAL

Attacker needs one app's valid API key (PR:L) over the network (AV:N) with no user interaction; the flaw crosses the app/tenant security boundary (S:C), yielding full read/write and lockout (C:H/I:H/A:H).

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Nov 09, 2026 - 19:02 EUVD
CVE Published
Nov 09, 2026 - 18:16 cve.org
CRITICAL 9.9

DescriptionCVE.org

SuperTokens Core is an open source authentication server. From 6.0.0 until 6.0.24, 7.0.23, 8.0.7, 9.0.6, 9.1.6, 9.2.7, 9.3.5, 10.0.8, 10.1.9, 11.0.9, 11.1.4, 11.2.4, 11.3.8, 11.4.8, 12.0.11, 12.1.2, 12.2.1, and 12.3.1, Multitenancy.checkPermissionsForCreateOrUpdate in src/main/java/io/supertokens/multitenancy/Multitenancy.java does not adequately authorize updates to a parent connection URI domain or the base tenant. In a licensed multi-tenant deployment with multiple applications under one non-default connection URI domain and separate api_keys, an attacker holding one application's valid API key can update the parent domain because the CUD-target branch checks the domain without requiring the source application and tenant to be public. Because api_keys is not protected, the attacker can replace the parent key and then sibling application keys, read or modify sibling users, obtain sessions as those users, establish persistence through a sibling dashboard user, and lock out the sibling application's own key. In the advisory's v2 create or update handlers, omitting the optional identifier produces a base-tenant target that skips the permission branches and enterprise-feature gate, allowing changes to firstFactors, required secondary factors, and recipe-enabled flags that affect login integrity and availability. The base-target variant still rejects coreConfig and does not establish key theft. This issue is fixed in versions 6.0.24, 7.0.23, 8.0.7, 9.0.6, 9.1.6, 9.2.7, 9.3.5, 10.0.8, 10.1.9, 11.0.9, 11.1.4, 11.2.4, 11.3.8, 11.4.8, 12.0.11, 12.1.2, 12.2.1, and 12.3.1.

Technical POC Analysis

Bug class: CWE-639 Authorization Bypass Through User-Controlled Key.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A critical privilege-escalation flaw in SuperTokens Core (versions 6.0.0 through 12.3.0) allows an attacker holding just one application's API key to compromise all sibling applications sharing a multi-tenant connection domain, potentially taking over user accounts, issuing sessions, and locking out legitimate applications. Only licensed multi-tenant deployments with multiple applications under a shared non-default connection URI domain are exposed; single-tenant and unlicensed deployments are not affected. Leadership should prioritize this because a single compromised API key could cascade into cross-application account takeover and authentication disruption across the tenant estate.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.6%
Top 52% exploitable
Prevalence
Medium
popular open-source self-hosted auth server, moderate production footprint, not ubiquitous
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

51
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +50
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

References

Advisories & patches
REF https://github.com/supertokens/supertokens-core/commit/13c3de170dd40dd217db0f6bd2bded0948476a42 REF https://github.com/supertokens/supertokens-core/commit/1cc02b971f064c2fa2d9bc74b9e85795fdc6a7e5 REF https://github.com/supertokens/supertokens-core/commit/1d9dcb03ce0691d9b8abee48f86cc2729a6008cb REF https://github.com/supertokens/supertokens-core/commit/337bb3eba812a5ee52d57854701820a0580b6050 REF https://github.com/supertokens/supertokens-core/commit/4902b713f31306ca41148070d10b6185f0e85201 REF https://github.com/supertokens/supertokens-core/commit/4d1ef0e177681f4f74995e4a25a17d224effe115 REF https://github.com/supertokens/supertokens-core/commit/61bfd3ebde1cf4b092da85ee884fa15e288aad51 REF https://github.com/supertokens/supertokens-core/commit/64dfa92c50a2ec288fe787ee5c2fad45548a6475 REF https://github.com/supertokens/supertokens-core/commit/8db9b0c39f97f240e116821434d4eb3c907faccf REF https://github.com/supertokens/supertokens-core/commit/8e48ef856becbaaeb50ad4c915be1d7ce279416b REF https://github.com/supertokens/supertokens-core/commit/9b0d3a9fdbdcb48dd7dd9d520075bbefbae3cf9b REF https://github.com/supertokens/supertokens-core/commit/a186f1013c784de8a796a732e925e1870fec0f40 REF https://github.com/supertokens/supertokens-core/commit/b58bc3d03549d20495df71c03ef5478799c184db REF https://github.com/supertokens/supertokens-core/commit/bf6184f027a99bd1b3b1df3d20e376dda6521399 REF https://github.com/supertokens/supertokens-core/commit/c6d7dc7d73b9bb3075b3f7a1a0c0c5780430c292 REF https://github.com/supertokens/supertokens-core/commit/df79f3b4399ef31aea4cb44cc7b65761a2cb94a7 REF https://github.com/supertokens/supertokens-core/commit/e616f4002c31d256f9ff6cb3d3685b924ef53a6d REF https://github.com/supertokens/supertokens-core/commit/ff9ca3ec53861a91996c4e9581fa6f2e01331736 REF https://github.com/supertokens/supertokens-core/releases/tag/v10.0.8 REF https://github.com/supertokens/supertokens-core/releases/tag/v10.1.9 REF https://github.com/supertokens/supertokens-core/releases/tag/v11.0.9 REF https://github.com/supertokens/supertokens-core/releases/tag/v11.1.4 REF https://github.com/supertokens/supertokens-core/releases/tag/v11.2.4 REF https://github.com/supertokens/supertokens-core/releases/tag/v11.3.8 REF https://github.com/supertokens/supertokens-core/releases/tag/v11.4.8 REF https://github.com/supertokens/supertokens-core/releases/tag/v12.0.11 REF https://github.com/supertokens/supertokens-core/releases/tag/v12.1.2 REF https://github.com/supertokens/supertokens-core/releases/tag/v12.2.1 REF https://github.com/supertokens/supertokens-core/releases/tag/v12.3.1 REF https://github.com/supertokens/supertokens-core/releases/tag/v6.0.24 REF https://github.com/supertokens/supertokens-core/releases/tag/v7.0.23 REF https://github.com/supertokens/supertokens-core/releases/tag/v8.0.7 REF https://github.com/supertokens/supertokens-core/releases/tag/v9.0.6 REF https://github.com/supertokens/supertokens-core/releases/tag/v9.1.6 REF https://github.com/supertokens/supertokens-core/releases/tag/v9.2.7 REF https://github.com/supertokens/supertokens-core/releases/tag/v9.3.5 REF https://github.com/supertokens/supertokens-core/security/advisories/GHSA-4rf2-xqvf-8rcx

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy