CVE-2026-123797
SuperTokens Core: Unknown tenant path bypasses API key and public-tenant enforcement
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity high, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.68%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 47.7% of all scored CVEs. Scores of 26 Nov 2026.
The assessment of CISA (SSVC, 12 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-288 Authentication Bypass Using an Alternate Path or Channel
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| supertokens-core |
affected < 11.3.6 affected >= 11.4.0, < 11.4.6 affected >= 12.0.6, < 12.0.8
|
Is my server affected?
Find the installed version of supertokens-core and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i supertokens-core
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-123797 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-123797RHEL, Rocky, Alma, Fedora
rpm -q supertokens-core
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-123797Alpine
apk list --installed | grep -i supertokens-coreWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-123797
trivy image --scanners vuln IMAGE | grep CVE-2026-123797
Patchbrief makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Install the agent.
References
Advisories
Other references
- https://github.com/supertokens/supertokens-core/commit/1bad648d7b77aca058cb6bf75373455bacc4e537 github.com
- https://github.com/supertokens/supertokens-core/commit/5811a10190b1d4d8d7a9fe2e17cb49437e6ffa49 github.com
- https://github.com/supertokens/supertokens-core/commit/7ce22db2b6ba95d7666adc51bb9ee60ac7d3d198 github.com
- https://github.com/supertokens/supertokens-core/releases/tag/v11.3.6 github.com
- https://github.com/supertokens/supertokens-core/releases/tag/v11.4.6 github.com
- https://github.com/supertokens/supertokens-core/releases/tag/v12.0.8 github.com
Source: the record CVE-2026-123797 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.