CVE-2026-123797Supertokens-core authentication bypass
CVSS score
7.5
High
CVSS 3.1 from github.com
Exploit probability (EPSS)
0.46%
0.46% chance of exploitation in the next 30 days, higher than 40.5% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
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.
Source: NVD · CNA: security-advisories@github.com
How to fix it, step by step
Check whether you're affected
Find every system running Supertokens-core and compare its version with the affected versions.
Update to a fixed version
- Update Supertokens-core to 11.3.6, 11.4.6, 12.0.8 or later, on the branch you run.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Affected products
| Affected products | Versions |
|---|---|
| supertokens Supertokens-core | < 11.3.6 · >= 11.4.0, < 11.4.6 · >= 12.0.6, < 12.0.8 |
Weakness
- CWE-288 authentication bypass
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-123797 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.5% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-123797?
CVE-2026-123797 has a CVSS 3.1 base score of 7.5 (high).
Which versions are affected?
Supertokens Supertokens-core (< 11.3.6; >= 11.4.0, < 11.4.6; >= 12.0.6, < 12.0.8)
Is there a patch for CVE-2026-123797?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/supertokens/supertokens-core/commit/1bad648d7b77aca058cb6bf75373455bacc4e537
- github.com/supertokens/supertokens-core/commit/5811a10190b1d4d8d7a9fe2e17cb49437e6ffa49
- github.com/supertokens/supertokens-core/commit/7ce22db2b6ba95d7666adc51bb9ee60ac7d3d198
- github.com/supertokens/supertokens-core/releases/tag/v11.3.6
- github.com/supertokens/supertokens-core/releases/tag/v11.4.6
- github.com/supertokens/supertokens-core/releases/tag/v12.0.8
- github.com/supertokens/supertokens-core/security/advisories/GHSA-q7mc-f2jm-r4gr
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.