{"id":"CVE-2026-123797","state":"PUBLISHED","title":"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.","publishedAt":"2026-11-09T17:52:54.576Z","updatedAt":"2026-11-12T18:05:39.367Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["supertokens supertokens-core"],"affected":[{"vendor":"supertokens","product":"supertokens-core","versions":[{"version":"< 11.3.6","status":"affected"},{"version":">= 11.4.0, < 11.4.6","status":"affected"},{"version":">= 12.0.6, < 12.0.8","status":"affected"}]}],"references":["https://github.com/supertokens/supertokens-core/security/advisories/GHSA-q7mc-f2jm-r4gr","https://github.com/supertokens/supertokens-core/commit/1bad648d7b77aca058cb6bf75373455bacc4e537","https://github.com/supertokens/supertokens-core/commit/5811a10190b1d4d8d7a9fe2e17cb49437e6ffa49","https://github.com/supertokens/supertokens-core/commit/7ce22db2b6ba95d7666adc51bb9ee60ac7d3d198","https://github.com/supertokens/supertokens-core/releases/tag/v11.3.6","https://github.com/supertokens/supertokens-core/releases/tag/v11.4.6","https://github.com/supertokens/supertokens-core/releases/tag/v12.0.8"],"weaknesses":["CWE-288"],"ingestedAt":"2026-11-12T18:48:06.386Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/123xxx/CVE-2026-123797.json","commit":"785b0e86b03d85383b2ac1d35573566c62356e29","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-123797","state":"PUBLISHED","datePublished":"2026-11-09T17:52:54.576Z","dateUpdated":"2026-11-12T18:05:39.367Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-11-06T15:27:56.225Z"},"containers":{"cna":{"title":"SuperTokens Core: Unknown tenant path bypasses API key and public-tenant enforcement","descriptions":[{"lang":"en","value":"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":[{"vendor":"supertokens","product":"supertokens-core","versions":[{"version":"< 11.3.6","status":"affected"},{"version":">= 11.4.0, < 11.4.6","status":"affected"},{"version":">= 12.0.6, < 12.0.8","status":"affected"}]}],"references":[{"url":"https://github.com/supertokens/supertokens-core/security/advisories/GHSA-q7mc-f2jm-r4gr","name":"https://github.com/supertokens/supertokens-core/security/advisories/GHSA-q7mc-f2jm-r4gr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/supertokens/supertokens-core/commit/1bad648d7b77aca058cb6bf75373455bacc4e537","name":"https://github.com/supertokens/supertokens-core/commit/1bad648d7b77aca058cb6bf75373455bacc4e537","tags":["x_refsource_MISC"]},{"url":"https://github.com/supertokens/supertokens-core/commit/5811a10190b1d4d8d7a9fe2e17cb49437e6ffa49","name":"https://github.com/supertokens/supertokens-core/commit/5811a10190b1d4d8d7a9fe2e17cb49437e6ffa49","tags":["x_refsource_MISC"]},{"url":"https://github.com/supertokens/supertokens-core/commit/7ce22db2b6ba95d7666adc51bb9ee60ac7d3d198","name":"https://github.com/supertokens/supertokens-core/commit/7ce22db2b6ba95d7666adc51bb9ee60ac7d3d198","tags":["x_refsource_MISC"]},{"url":"https://github.com/supertokens/supertokens-core/releases/tag/v11.3.6","name":"https://github.com/supertokens/supertokens-core/releases/tag/v11.3.6","tags":["x_refsource_MISC"]},{"url":"https://github.com/supertokens/supertokens-core/releases/tag/v11.4.6","name":"https://github.com/supertokens/supertokens-core/releases/tag/v11.4.6","tags":["x_refsource_MISC"]},{"url":"https://github.com/supertokens/supertokens-core/releases/tag/v12.0.8","name":"https://github.com/supertokens/supertokens-core/releases/tag/v12.0.8","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-288","lang":"en","description":"CWE-288: Authentication Bypass Using an Alternate Path or Channel","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-11-09T17:59:25.028Z"},"source":{"advisory":"GHSA-q7mc-f2jm-r4gr","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-12T16:37:16.301952Z","id":"CVE-2026-123797","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-12T18:05:39.367Z"}}]}}}