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.
Published: 2026-11-09
Score: 7.5 High
EPSS: n/a
KEV: No
Impact: Unauthorized role creation via API key bypass
Action: Patch Now
AI Analysis

Impact

An unauthenticated attacker can access SuperTokens Core endpoints that use an unknown tenant path and an older CDI version to create and enumerate application roles. The flaw stems from checkIPAccess and assertThatAPIKeyCheckPasses suppressing TenantOrAppNotFoundException, while the later app‑specific handler still resolves app/public storage and the public‑tenant guard only applies to CDI versions 5.0 and later. This allows the attacker to use PUT /ghosttenant/recipe/role and GET /ghosttenant/recipe/roles without a valid API key, effectively adding privileged roles and escalating privileges within the application. The vulnerability is an authentication bypass (CWE‑288).

Affected Systems

SuperTokens Core versions earlier than 11.3.6, 11.4.6, and 12.0.8 are vulnerable. The vendor is SuperTokens and the product is SuperTokens Core. Any deployment using an older CDI version or with the public‑tenant guard disabled is at risk. The fix is included in releases 11.3.6, 11.4.6, and 12.0.8.

Risk and Exploitability

The CVSS score of 7.5 denotes high severity. The EPSS score is not available, but the flaw allows unauthenticated remote exploitation over the network, so it is likely to be targeted by attackers. The issue is not listed in the CISA KEV catalog. The attack vector is remote, requiring only access to the Core endpoint; no authentication is needed.

Generated by OpenCVE AI on November 9, 2026 at 19:24 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade SuperTokens Core to 11.3.6 or later (v11.4.6 or v12.0.8 contain the fix).
  • Ensure the CDI version in use is 5.0 or newer; if an older CDI version is required, consider disabling the affected endpoints or restricting access.
  • If upgrading immediately is not feasible, block inbound traffic to the Core API endpoints using firewall rules or network segmentation so that only trusted internal services can reach them.
  • After applying the patch, review role definitions to ensure no unintended or privileged roles remain.

Generated by OpenCVE AI on November 9, 2026 at 19:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 09 Nov 2026 18:15:00 +0000

Type Values Removed Values Added
Description SuperTokens Core is an open source authentication server. From 12.0.6 until 12.0.8, from 11.4.0 until 11.4.6, from 11.3.0 until 11.3.6, and in versions before 11.3.0, 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. 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.

Mon, 09 Nov 2026 18:00:00 +0000

Type Values Removed Values Added
Description SuperTokens Core is an open source authentication server. From 12.0.6 until 12.0.8, from 11.4.0 until 11.4.6, from 11.3.0 until 11.3.6, and in versions before 11.3.0, 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.
Title SuperTokens Core: Unknown tenant path bypasses API key and public-tenant enforcement
Weaknesses CWE-288
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-11-09T17:59:25.028Z

Reserved: 2026-11-06T15:27:56.225Z

Link: CVE-2026-123797

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-09T18:17:26.890

Modified: 2026-11-09T18:17:26.890

Link: CVE-2026-123797

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-09T19:30:15Z

Weaknesses
  • CWE-288

    Authentication Bypass Using an Alternate Path or Channel