# CVE-2026-123797: SuperTokens Core API key and tenant enforcement bypass

Source: https://junglewise.ai/threats/cve-2026-123797-supertokens-core-is-an-open-source-authentication-server-prior  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-11-09. Updated: 2026-11-09  
License: CC BY 4.0 with a link back

CVE-2026-123797 · Severity: high · CVSS 7.5 · Published 2026-11-09

SuperTokens Core is an open-source authentication server used to manage user sign-in and roles for applications. An attacker with network access to the Core endpoint can bypass API key and public-tenant security checks by using older protocol versions and unknown tenant identifiers, allowing unauthorized creation and enumeration of application roles without valid credentials.

Technologies: [Supertokens Core](https://junglewise.ai/threats/technologies/supertokens-core). Vendors: [Supertokens](https://junglewise.ai/threats/vendors/supertokens).

## Quick answers

**Is CVE-2026-123797 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-123797 being exploited in the wild.

**How severe is CVE-2026-123797?** High severity, with a CVSS score of 7.5, published 9 November 2026.

**Which products and versions are affected?** Supertokens Core before 11.3.6, 11.4.6, and 12.0.8.

**Is there a fix for CVE-2026-123797?** Yes: fixed in 11.3.6, 11.4.6, 12.0.8. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-123797 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-123797?** Check whether you run Supertokens Core at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Fixed in 11.3.6, 11.4.6, 12.0.8

## Technical details

The vulnerability exists in WebserverAPI.java where checkIPAccess and assertThatAPIKeyCheckPasses suppress TenantOrAppNotFoundException errors during configuration lookups. When a request targets an unknown tenant path using an older supported CDI version, the public-tenant guard (enforced only in CDI 5.0+) is bypassed, permitting unauthenticated access to role management endpoints like PUT /ghosttenant/recipe/role and GET /ghosttenant/recipe/roles. An attacker must reach the Core endpoint directly and craft requests with incompatible protocol versions to exploit this flaw.

## Affected products

- SuperTokens Core before 11.3.6, 11.4.6, and 12.0.8

## Timeline

- 2026-11-09: disclosed
- 2026-07-28: patched

## References

- [https://github.com/supertokens/supertokens-core/commit/1bad648d7b77aca058cb6bf75373455bacc4e537](https://github.com/supertokens/supertokens-core/commit/1bad648d7b77aca058cb6bf75373455bacc4e537)
- [https://github.com/supertokens/supertokens-core/commit/5811a10190b1d4d8d7a9fe2e17cb49437e6ffa49](https://github.com/supertokens/supertokens-core/commit/5811a10190b1d4d8d7a9fe2e17cb49437e6ffa49)

## Related threats

- [SuperTokens Core session race condition in account unlink](https://junglewise.ai/threats/cve-2026-123804-supertokens-core-is-an-open-source-authentication-server-from-7)
- [SuperTokens Core cross-tenant WebAuthn authentication bypass](https://junglewise.ai/threats/cve-2026-123803-supertokens-core-is-an-open-source-authentication-server-from-10)
- [SuperTokens Core SAML authentication bypass](https://junglewise.ai/threats/cve-2026-123802-supertokens-core-is-an-open-source-authentication-server-from-11)
- [SuperTokens Core SAML replay protection bypass in callback](https://junglewise.ai/threats/cve-2026-123801-supertokens-core-is-an-open-source-authentication-server-from-11)
- [SuperTokens Core authorization bypass in multitenancy connection URI updates](https://junglewise.ai/threats/cve-2026-123800-supertokens-core-is-an-open-source-authentication-server-from-6)
