/

CVE-2026-92716

Severity:

CRITICAL RISK

(9.6)

Cross-Tenant IDOR (CWE-639) in Shuffle API Endpoint

CVE-2026-92716

Awaiting Analysis

Vulnerability type

Category:

Cross-Tenant Authorization Bypass

CWE:

CWE-639

Impact:

Cross-Tenant Account Takeover

Severity:

CRITICAL RISK

(9.6)

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

Shuffle 2.2.1 contains a critical cross-tenant authorization flaw in the HandleApiGeneration endpoint. An administrator from one organization may supply user identifiers from another organization to reset and read valid API keys, potentially enabling account takeover across tenant boundaries.

Affected context

The vulnerability occurs in Shuffle deployments where the HandleApiGeneration endpoint accepts user identifiers without sufficiently verifying that the target user belongs to the requesting administrator's organization. The issue becomes risky when an administrator in one tenant can invoke the endpoint and the API performs key operations across organizational boundaries.

Exploit preconditions

  • Attack surface: The HandleApiGeneration API endpoint
  • Required access: Administrative privileges within at least one Shuffle organization
  • Trigger point: An API request that supplies a target user identifier for API-key generation or reset
  • Why exploitation is possible: Authorization checks may validate the caller's administrative role without binding the target user to the caller's organization

Why this happens

The underlying flaw is an object-level authorization failure in which user-controlled identifiers are trusted without enforcing tenant ownership. This is a form of CWE-639: Authorization Bypass Through User-Controlled Key, commonly associated with insecure direct object references and missing tenant-bound access checks. The endpoint's privilege decision is not sufficiently coupled to the organization associated with the target account.

Potential impact

  • An attacker may generate or reset API keys belonging to users in other organizations.
  • An attacker could read sensitive API-key material.
  • Compromised keys may enable unauthorized access to tenant resources.
  • Affected user accounts and integrations could be taken over.
  • Organizations may experience cross-tenant data exposure or operational disruption.

General mitigation guidance

Mitigation generally focuses on enforcing authorization at the object and tenant boundary for every API-key operation.

Common defensive patterns include:

  • Deriving the target organization from trusted server-side identity data rather than accepting it from the request.
  • Verifying that the target user belongs to the administrator's organization before any key is read, created, or reset.
  • Applying deny-by-default authorization for cross-tenant object access.
  • Returning API keys only when the operation and response are explicitly authorized.
  • Limiting administrative privileges and separating tenant administration from platform-wide operations.
  • Avoiding long-lived credentials and reducing the scope and privilege of issued API keys.
  • Auditing key-generation events and invalidating potentially exposed credentials.

How teams detect issues like this

Detection approaches can include:

  • Static analysis and code review checks for endpoints that accept user IDs or object IDs without adjacent tenant-membership validation.
  • Review of authorization middleware to confirm that role checks are combined with object-level and organization-level checks.
  • Dynamic tests that attempt to access equivalent objects across two isolated organizations using a low-trust administrative account.
  • Monitoring for API-key generation, reset, or read events where the requester and target user belong to different organizations.
  • Policy enforcement requiring explicit tenant-bound authorization tests for administrative APIs.
  • Neutral automated code-review tools may help identify user-controlled identifiers used in privileged data-access paths.

Sources

SourceLink
github.comgithub.com/Shuffle/Shuffle
github.comgithub.com/Shuffle/shuffle-shared/blob/v1.2.50/shared.go#L9888-L9912
github.comgithub.com/Shuffle/shuffle-shared/commit/c1b582e91b429bc7d5ad02e6c22f98234ec67615
github.comgithub.com/geo-chen/oss/blob/main/shuffle.md
vulncheck.comvulncheck.com/advisories/shuffle-through-2.2.1-api-key-reset-cross-tenant-privilege-escalation

Frequently asked

questions

It may be exploitable through the Shuffle API when the endpoint is reachable and the attacker has valid administrator privileges in at least one organization.

No. The described issue can allow an administrator limited to one organization to target users in other organizations, provided the endpoint and authorization conditions are satisfied.

Enforce server-side, object-level authorization that confirms the target user belongs to the requesting administrator's organization before reading, generating, or resetting an API key.

Treat every user-controlled identifier as untrusted, apply tenant-scoped authorization consistently, test cross-tenant access boundaries, minimize administrative privileges, and monitor sensitive credential operations.

Find out what's already
exploitable in your codebase.