SuperTokens Core: Unknown tenant path bypasses API key and public-tenant enforcement
CVE-2026-123797Published 9 Nov 2026, 17:52 UTC
Real-world risk
6.0/ 10Medium
Schedule in the normal cycle
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.5
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
SuperTokens Core is an open source authentication server. Prior to 11.3.6, 11.4.6, and 12.0.8, app-specific management requests using an unknown tenant path and an older supported cdi-version can bypass API-key and public-tenant enforcement. In src/main/java/io/supertokens/webserver/WebserverAPI.java, checkIPAccess and assertThatAPIKeyCheckPasses suppress TenantOrAppNotFoundException, while the later app-specific handler resolves app/public storage and the public-tenant guard applies only to CDI versions 5.0 and later. An unauthenticated caller able to reach the Core endpoint can therefore use PUT /ghosttenant/recipe/role and GET /ghosttenant/recipe/roles to create and enumerate application roles without a valid API key. This issue is fixed in versions 11.3.6, 11.4.6, and 12.0.8.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| supertokens-coreNiche | < 11.3.6; >= 11.4.0, < 11.4.6; >= 12.0.6, < 12.0.8 | 11.3.6, 11.4.6, 12.0.8 |
What to do
Update to a fixed version: 11.3.6, 11.4.6, 12.0.8.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data tamperingWrites or changes important data without gaining execution | From the CVSS vector | 0.70 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.5% chance of exploitation in 30 days (percentile 43), as of 2026-12-06.
The arithmetic
- Prerequisites multiplied together1.000
- Threat T1: Nothing known0.850
- 10 × impact 0.7 × prerequisites 1 × threat 0.855.950
- Rounded to one decimal between 0.1 and 106.0
Exploitation and evidence timeline
- 9 Nov 2026 Published
- 3 Dec 2026 Risk 6.0 (cvss fallback)
Weakness
CWE-288
References
- https://github.com/supertokens/supertokens-core/security/advisories/GHSA-q7mc-f2jm-r4grvendor-advisory
- https://github.com/supertokens/supertokens-core/commit/1bad648d7b77aca058cb6bf75373455bacc4e537misc
- https://github.com/supertokens/supertokens-core/commit/5811a10190b1d4d8d7a9fe2e17cb49437e6ffa49misc
- https://github.com/supertokens/supertokens-core/commit/7ce22db2b6ba95d7666adc51bb9ee60ac7d3d198misc
- https://github.com/supertokens/supertokens-core/releases/tag/v11.3.6misc
- https://github.com/supertokens/supertokens-core/releases/tag/v11.4.6misc
- https://github.com/supertokens/supertokens-core/releases/tag/v12.0.8misc
- CVE-2026-123797 on CVE.org