Skip to main content

SuperTokens Core CVE-2026-123797

| EUVDEUVD-2026-120160 HIGH
Authentication Bypass Using an Alternate Path or Channel (CWE-288)
2026-11-09 security-advisories@github.com
7.5
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach Core HTTP endpoint unauthenticated
  2. Delivery
    Prepend unknown tenant segment to path
  3. Exploit
    Set older supported cdi-version header (3.0)
  4. Execution
    PUT /ghosttenant/recipe/role bypasses API-key check
  5. Impact
    Create and enumerate app-level roles

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Alternate path authentication
Exploitation Conditions

Concrete prerequisites from the advisory: (1) the attacker can send HTTP requests to a reachable SuperTokens Core endpoint; (2) the deployment relies on the app-specific management boundary enforced by API_KEYS and/or tenant-aware IP restrictions (this is the control being bypassed); (3) the relevant recipe is enabled - reproduced against the UserRoles management API (PUT /recipe/role, GET /recipe/roles); (4) the attacker controls both the request path (to inject an arbitrary non-public tenant segment such as /ghosttenant) and the cdi-version header, choosing an older supported CDI version below 5.0 (e.g. 3.0). Limiting factors for defenders: no valid API key, session, high-entropy secret, or victim interaction is required, but SuperTokens Core is typically deployed to be reached only by isolated backend callers - so realistic exploitation requires the Core HTTP endpoint to be exposed to an untrusted internal segment or a mis-scoped gateway. The vendor fix (11.3.6/11.4.6/12.0.8) also adds a supertokens_min_cdi_version config that rejects requests using a CDI version below a configured minimum (returning 400); per the vendor, updating is the complete fix.

Impact

Multiple signals agree this is a genuine, better-than-average priority but short of a drop-everything emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, base 7.5 HIGH) describes fully remote, unauthenticated, low-complexity exploitation with no user interaction, and CWE-288 (authentication bypass) matches the reported behavior. The GitHub Security Advisory (GHSA-q7mc-f2jm-r4gr) provides a dynamically-confirmed reproduction on supertokens/supertokens-postgresql:11.4.5, showing a clear control contrast: 401 on the normal path, 403 on the ghost-tenant path with cdi-version 5.4, and 200 with role creation on the ghost-tenant path with cdi-version 3.0. The vuln.today decision label is 'this_week', consistent with a serious-but-not-critical bug. Counterbalancing signals: there is NO EPSS score in the input and the CVE is NOT listed in CISA KEV, so there is no evidence of active exploitation - only a public reproduction. The practical impact is also gated by deployment topology: SuperTokens Core is normally reached only by tightly isolated backend callers, so real-world exposure depends on whether the Core HTTP endpoint is reachable from an untrusted network segment or a mis-scoped gateway, and on whether API_KEYS is the boundary being relied upon. One divergence to verify: the vendor rated C:N, but the same bypass also allows unauthenticated enumeration of application role names (GET /ghosttenant/recipe/roles), which is a limited confidentiality disclosure of authorization configuration - I assess C:L rather than C:N.

Exploit ScenarioDerived

An attacker who can reach the SuperTokens Core HTTP endpoint from an untrusted network segment or a mis-scoped internal gateway sends PUT /ghosttenant/recipe/role with the header cdi-version: 3.0 and no api-key; the pre-handler API-key and IP checks fail open on TenantOrAppNotFoundException, and because the public-tenant guard only applies to CDI >= 5.0, the request reaches CreateRoleAPI and creates an application role, returning 200 with createdNewRole:true. The attacker can then enumerate roles via GET /ghosttenant/recipe/roles, modifying and reading app-level authorization data with no valid API key, session, or victim interaction. A detailed, dynamically-confirmed reproduction (observed status codes and responses) is published in the GHSA advisory, so a public PoC reference exists, though it is not packaged as a standalone working exploit tool.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 09, 2026

Unauthenticated creation and enumeration of application roles in SuperTokens Core lets anyone who can reach the Core HTTP endpoint modify app-level authorization data without a valid API key. The bypass prepends an unknown tenant segment to an app-specific management route (for example PUT /ghosttenant/recipe/role) and sends a still-supported CDI version header below 5.0, which makes the API-key and public-tenant guards fail open; it is confirmed against the UserRoles management API and exists in releases prior to 11.3.6, 11.4.6 and 12.0.8. No CISA KEV listing is present, and the advisory itself contains a detailed step-by-step reproduction of the bypass; real-world risk is gated by whether Core is reachable from an untrusted segment or a mis-scoped gateway, so this is a this_week priority - a genuine, better-than-average concern rather than a drop-everything emergency.

RemediationAI

Upgrade to SuperTokens Core 11.3.6, 11.4.6 or 12.0.8 according to your branch (release tags v11.3.6, v11.4.6, v12.0.8); the vendor fix reworks API-key/IP allow-list handling and, in 12.0.8, adds the supertokens_min_cdi_version (SUPERTOKENS_MIN_CDI_VERSION) configuration that rejects requests using a CDI version below a configured minimum with HTTP 400, and per the vendor updating is the complete fix. Enabling that minimum does carry a side effect: any SDK or client still sending an older CDI header will begin receiving 400 responses, so it should be rolled out together with an SDK upgrade. Until patched, the advisory's limiting condition is exposure - restrict the Core HTTP endpoint to isolated, trusted backend callers so untrusted internal segments or mis-scoped gateways cannot reach app-specific management routes, since the API_KEYS boundary alone is precisely the control being bypassed here. Relevant upstream commits are 1bad648d7b77aca058cb6bf75373455bacc4e537, 5811a10190b1d4d8d7a9fe2e17cb49437e6ffa49 and 7ce22db2b6ba95d7666adc51bb9ee60ac7d3d198.

Affected VersionsENISA

supertokens-core 12.0.6, < 12.0.8
supertokens-core < 11.3.6
supertokens-core 11.4.0, < 11.4.6

Affected Packages

euvd supertokens_core fix: 11.3.6, 11.4.6, 12.0.8

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

SuperTokens Core is a Java authentication server whose web layer (PathRouter.java and WebserverAPI.java) routes recipe APIs beneath an optional tenant path segment and negotiates a Core Driver Interface (CDI) version with each calling SDK. This is a CWE-288 alternate-path authentication bypass: for a path such as /ghosttenant/recipe/role the pre-handler routines checkIPAccess and assertThatAPIKeyCheckPasses suppress TenantOrAppNotFoundException instead of failing closed, so the configured API_KEYS check and tenant-aware IP restrictions are never evaluated, while the later app-specific handler (for example CreateRoleAPI) still resolves the app/public storage and performs the write. The public-tenant rejection for app-specific APIs is applied only when the caller-supplied cdi-version is 5.0 or later, and older versions such as 3.0, 3.1 and 4.0 remain accepted, so the attacker simply chooses an older header value to skip that check. Dynamic reproduction was performed on the UserRoles API (PUT /recipe/role, GET /recipe/roles) against supertokens-postgresql:11.4.5, and the advisory notes that the same shared pre-check and app-specific storage pattern appears in other management handlers - a static code-level concern that was not dynamically confirmed. The trigger is entirely caller-controlled path and header selection, requiring no session, secret or victim interaction.

Know when Java gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
vuln.today AI 8.2 HIGH

Unauthenticated remote HTTP request (AV:N/PR:N/UI:N) needing only a ghost-tenant path and an old cdi-version (AC:L); role creation gives I:H and unauthenticated role enumeration gives C:L; no availability impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

Lifecycle Timeline

2
Patch available
Nov 09, 2026 - 19:02 EUVD
CVE Published
Nov 09, 2026 - 18:17 cve.org
HIGH 7.5

DescriptionCVE.org

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.

Technical POC Analysis

CWE-288, authentication bypass using an alternate path or channel.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

SuperTokens Core versions prior to 11.3.6, 11.4.6, and 12.0.8 contain a high-severity authorization bypass that allows unauthenticated attackers to create and enumerate application roles, potentially leading to unauthorized access or privilege escalation within applications relying on SuperTokens for identity management. Leadership should prioritize remediation because this vulnerability directly undermines the access control layer and could enable broader compromise if the Core service is exposed to untrusted networks.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include restricting network access to SuperTokens Core to trusted segments, enforcing API key validation and tenant scoping at an external gateway, and monitoring for anomalous role management activity.

Threat Intelligence Overview

EPSS Score
0.5%
Top 60% exploitable
Prevalence
Low
self-hosted open-source auth server, modest and niche deployment footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy