SuperTokens Core: App-scoped API key can overwrite the parent connection URI domain's credentials and take over sibling applications

State
Published
Severity
9.9 Critical
Published
Nov 9, 2026
Updated
Nov 14, 2026
Reserved
Nov 6, 2026

Read the record on cve.org

Description

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.

ProductVersions
supertokens-core supertokens>= 6.0.0, < 6.0.24 Affected>= 7.0.0, < 7.0.23 Affected>= 8.0.0, < 8.0.7 Affected>= 9.0.0, < 9.0.6 Affected>= 9.1.0, < 9.1.6 Affected>= 9.2.0, < 9.2.7 Affected>= 9.3.0, < 9.3.5 Affected>= 10.0.0, < 10.0.8 Affected>= 10.1.0, < 10.1.9 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 Affected>= 12.2.0, < 12.2.1 Affected>= 12.3.0, < 12.3.1 Affected

Weaknesses

  • CWE-639 Authorization Bypass Through User-Controlled Key
  • CWE-863 Incorrect Authorization

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.