CVE-2026-123800 supertokens · supertokens-core
AI summary
SuperTokens Core from 6.0.0 has an authorization flaw in multitenancy updates: in licensed multi-tenant deployments, an attacker holding one application's valid API key can modify the parent connection URI domain, replace sibling application keys, access sibling users and sessions, and alter base-tenant login settings. Critical (9.9); upgrade to a fixed release such as 6.0.24, 7.0.23, 8.0.7, 9.3.5, 10.1.9, 11.4.8 or 12.3.1.
Official 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.
- Published
- 2026-11-09 19:16 UTC
- Modified
- 2026-11-14 02:16 UTC
- CVSS
- 9.9 Critical
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H - EPSS
- 0.90% (percentile 58)
- ENISA EUVD
- EUVD-2026-120149
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
- CWE
- CWE-639
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- low
- User interaction
- none
- Scope
- changed
- Confidentiality
- high
- Integrity
- high
- Availability
- high
References
- NVD · CVE.org
- github.com
https://github.com/supertokens/supertokens-core/commit/13c3de170dd40dd217db0f6bd2bded0948476a42 - github.com
https://github.com/supertokens/supertokens-core/commit/1cc02b971f064c2fa2d9bc74b9e85795fdc6a7e5 - github.com
https://github.com/supertokens/supertokens-core/commit/1d9dcb03ce0691d9b8abee48f86cc2729a6008cb - github.com
https://github.com/supertokens/supertokens-core/commit/337bb3eba812a5ee52d57854701820a0580b6050 - github.com
https://github.com/supertokens/supertokens-core/commit/4902b713f31306ca41148070d10b6185f0e85201 - github.com
https://github.com/supertokens/supertokens-core/commit/4d1ef0e177681f4f74995e4a25a17d224effe115 - github.com
https://github.com/supertokens/supertokens-core/commit/61bfd3ebde1cf4b092da85ee884fa15e288aad51 - github.com
https://github.com/supertokens/supertokens-core/commit/64dfa92c50a2ec288fe787ee5c2fad45548a6475 - github.com
https://github.com/supertokens/supertokens-core/commit/8db9b0c39f97f240e116821434d4eb3c907faccf - github.com
https://github.com/supertokens/supertokens-core/commit/8e48ef856becbaaeb50ad4c915be1d7ce279416b - github.com
https://github.com/supertokens/supertokens-core/commit/9b0d3a9fdbdcb48dd7dd9d520075bbefbae3cf9b - github.com
https://github.com/supertokens/supertokens-core/commit/a186f1013c784de8a796a732e925e1870fec0f40