# CVE-2026-123797: SuperTokens Core: Unknown tenant path bypasses API key and public-tenant enforcement

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.68% (percentile 48, 2026-11-26)
- **CWE:** CWE-288
- **Published:** 2026-11-09T17:52:54.576Z
- **Modified:** 2026-11-12T22:18:51.470Z

## Who should check

- Anyone running supertokens-core \< 11.3.6; \>= 11.4.0, \< 11.4.6; \>= 12.0.6, \< 12.0.8

## 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.

## Affected and fixed versions

- supertokens-core: \< 11.3.6; \>= 11.4.0, \< 11.4.6; \>= 12.0.6, \< 12.0.8 (cvelist)

## Mitigation

- Upgrade supertokens-core to 12.0.8 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-123797. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-123797.md
Affected: supertokens-core < 11.3.6; >= 11.4.0, < 11.4.6; >= 12.0.6, < 12.0.8
Fixed in: supertokens-core 11.3.6, supertokens-core 11.4.6, supertokens-core 12.0.8

Steps:
1. Search this machine and project for supertokens-core: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-123797 being exploited?

There is no confirmed exploitation: CVE-2026-123797 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.68% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-123797?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-123797?

supertokens-core \< 11.3.6; \>= 11.4.0, \< 11.4.6; \>= 12.0.6, \< 12.0.8.

### Is there a fix for CVE-2026-123797?

Yes. Fixed in supertokens-core 11.3.6, supertokens-core 11.4.6, supertokens-core 12.0.8. Upgrade supertokens-core to 12.0.8 or later.

### How do I check if I'm affected by CVE-2026-123797?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/supertokens/supertokens-core/security/advisories/GHSA-q7mc-f2jm-r4gr>
- patch: <https://github.com/supertokens/supertokens-core/commit/1bad648d7b77aca058cb6bf75373455bacc4e537>
- patch: <https://github.com/supertokens/supertokens-core/commit/5811a10190b1d4d8d7a9fe2e17cb49437e6ffa49>
- patch: <https://github.com/supertokens/supertokens-core/commit/7ce22db2b6ba95d7666adc51bb9ee60ac7d3d198>
- other: <https://github.com/supertokens/supertokens-core/releases/tag/v11.3.6>
- other: <https://github.com/supertokens/supertokens-core/releases/tag/v11.4.6>
- other: <https://github.com/supertokens/supertokens-core/releases/tag/v12.0.8>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-123797>

HTML: <https://flawdb.com/CVE-2026-123797> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-123797>
