Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach Core HTTP endpoint unauthenticated
-
DeliveryPrepend unknown tenant segment to path
-
ExploitSet older supported cdi-version header (3.0)
-
ExecutionPUT /ghosttenant/recipe/role bypasses API-key check
-
ImpactCreate 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
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.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.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.
Articles & Coverage 1
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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
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
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
EUVD-2026-120160
NVD
CVE.org
EPSS
GitHub
Exploit-DB