/

CVE-2026-123803

Severity:

HIGH RISK

(8.1)

Authorization Bypass (CWE-863) in SuperTokens WebAuthn

CVE-2026-123803

Deferred

Vulnerability type

Category:

Authorization Bypass

CWE:

CWE-863, CWE-1220

Impact:

Cross-tenant authentication and unauthorized access

Severity:

HIGH RISK

(8.1)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

SuperTokens Core can accept a valid WebAuthn passkey assertion from one tenant when it is submitted to another tenant's sign-in endpoint within the same application. In multi-tenant deployments with a shared user pool, this may let a user authenticate in a tenant where they have no membership.

Affected context

The issue affects multi-tenant SuperTokens Core deployments that use WebAuthn with a shared user pool. The relevant credential lookups are scoped to the application rather than the requested tenant, and the sign-in flow does not verify that the authenticating user belongs to that tenant.

Exploit preconditions

  • Attack surface: A tenant's WebAuthn sign-in endpoint within a multi-tenant application
  • Required access: A valid passkey belonging to the attacker in another tenant of the same application
  • Trigger point: WebAuthn sign-in using that passkey against the target tenant
  • Why exploitation is possible: Credential lookups are not constrained to the requested tenant, and tenant membership is not checked during sign-in

Why this happens

The authentication flow performs application-scoped WebAuthn credential lookups without enforcing the requested tenant as part of the lookup, then accepts the sign-in without checking tenant membership. This is an authorization enforcement failure mapped to CWE-863: Incorrect Authorization; the insufficient tenant-specific restriction is also related to CWE-1220: Insufficient Granularity of Access Control.

Potential impact

  • A user may authenticate in a tenant where they have no membership
  • The user could gain access to tenant-scoped features or information available to authenticated users
  • Tenant isolation boundaries may be weakened

General mitigation guidance

Defensive patterns should ensure that authentication and authorization decisions are scoped to the tenant requested by the user.

  • Bind credential lookups and WebAuthn verification to the specific tenant
  • Verify tenant membership before completing sign-in or granting a session
  • Treat tenant identifiers and credential references as untrusted until validated together
  • Apply least privilege and keep tenant-specific data and authorization policies isolated

How teams detect issues like this

Review authentication code for credential lookups that use application scope without tenant constraints, and for sign-in paths that omit tenant-membership checks. Add tests and policy checks that verify a credential from one tenant cannot authenticate in another. Static analysis and automated code review can help flag authorization decisions that do not incorporate the relevant tenant context.

Sources

SourceLink
github.comgithub.com/supertokens/supertokens-core/commit/01ca34a06baa0d22db008f38c8eabd1f6695d9a6
github.comgithub.com/supertokens/supertokens-core/commit/030643edea5d69e0009ceeecbc5dd70be5c66186
github.comgithub.com/supertokens/supertokens-core/commit/1e3e4d9b25237a9c8fd77cbe0d4d0ecb360d8cd6
github.comgithub.com/supertokens/supertokens-core/commit/84492e38f9eb6db0cc338674ce5e94d1603bef08
github.comgithub.com/supertokens/supertokens-core/commit/982d420a5ac29d5e362eaf39169a7a9f5339abeb
github.comgithub.com/supertokens/supertokens-core/commit/a3d033022effb00ccf0c4ec6ca77c36eb1a24617
github.comgithub.com/supertokens/supertokens-core/commit/ad768c1925e245930e5fbf9441452d85564de91d
github.comgithub.com/supertokens/supertokens-core/commit/b933b6c9b4495e47a8b3efeb5a70e9d014777320
github.comgithub.com/supertokens/supertokens-core/commit/e19d173f47658d036685d3020e18819c5f3690b7
github.comgithub.com/supertokens/supertokens-core/releases/tag/v11.0.9
github.comgithub.com/supertokens/supertokens-core/releases/tag/v11.1.4
github.comgithub.com/supertokens/supertokens-core/releases/tag/v11.2.4
github.comgithub.com/supertokens/supertokens-core/releases/tag/v11.3.8
github.comgithub.com/supertokens/supertokens-core/releases/tag/v12.0.11
github.comgithub.com/supertokens/supertokens-core/releases/tag/v12.1.2
github.comgithub.com/supertokens/supertokens-core/releases/tag/v12.2.1
github.comgithub.com/supertokens/supertokens-core/releases/tag/v12.3.1
github.comgithub.com/supertokens/supertokens-core/security/advisories/GHSA-6v34-w48w-44rc

Frequently asked

questions

A user with a valid WebAuthn passkey in one tenant may be able to authenticate through another tenant's sign-in endpoint in the same application.

The described scenario does not require existing membership in the target tenant; it requires a valid passkey in another tenant that shares the application's user pool.

Scope credential lookup and verification to the requested tenant, then verify tenant membership before issuing an authenticated session.

Include tenant context in authorization checks and test that credentials and sessions cannot cross tenant boundaries.

Find out what's already
exploitable in your codebase.