Failure pattern · 4 documented incidents

Cross-tenant access through a caller-controlled identifier

The server trusts an account, tenant or object ID sent by the client, so changing a number reveals someone else's data.

See it happen

Watch how this failure unfolds, then switch to the same situation with the safeguard in place. Tap or click any step to replay it.

Scroll the diagram sideways to see every system.

12 / 12 s

Bob’s invoice is returned to Alice.

What goes wrong:

  1. Alice opens her invoice at /invoices/1041.
  2. She edits the number in the address bar to 1042.
  3. The API trusts the ID from the request and never checks who owns it.
  4. Bob’s invoice is returned to Alice.

With the safeguard:

  1. Alice opens her invoice at /invoices/1041.
  2. She edits the number in the address bar to 1042.
  3. The API scopes every query to the tenant of the signed-in user.
  4. No match means 404. Guessing IDs reveals nothing.

What it is

The server takes an account, tenant or record ID from the request and believes it. Change one number in the URL or the API call and you’re looking at somebody else’s data.

How it happens

  • IDs in URLs or request bodies are sequential or easy to guess
  • The server looks up the object without checking who owns it
  • Tenant separation relies on the client sending the right ID

What it causes

  • One customer reads another customer’s documents or records
  • Mass scraping of personal or financial data
  • Regulatory penalties and breach notifications

Warning signs

  • One account requesting many IDs it has never touched
  • Sequential ID enumeration in access logs
  • Requests that succeed for objects outside the caller’s tenant

How to prevent it

Derive tenant and object access from the authenticated session. Resolve tenant and ownership from verified session claims, check object-level authorization on every read and write, and back it with row-level security and tenant-namespaced cache keys.

  • Every data access is checked against the signed-in user’s identity on the server
  • Queries are scoped to the caller’s tenant by default, not by a parameter the client sends
  • Tests deliberately try to read another tenant’s objects and must fail

Key ideas:Insecure direct object reference (IDOR)

How to verify

Use synthetic data in an isolated test environment. These checks are engineering guidance; a checkmark is your team’s assessment.

  1. 1. Try: Using two test tenants, replace an object or tenant ID in a read and a write with the other tenant’s ID.

    Pass when: Neither operation returns or changes the other tenant’s data.

  2. 2. Try: Request the same object identifier from both tenants after warming caches.

    Pass when: Cached responses, background jobs and database queries remain scoped to the authenticated tenant.

Evidence to keep: Keep the cross-tenant test matrix and session-derived authorization and cache-key checks.

Check your system against the full launch checklist

Real incidents with this pattern

Documented incidents first. Each links to its public source.

Open in the database
More records with this pattern187 security advisories · 4 illustrative scenarios

Showing 12 of 191. See all records with this pattern

Security advisory2026-12-01

PerfreeBlog issue could allow unauthorized access

A flaw has been found in PerfreeBlog up to 4.0.11. This affects an unknown part of the file CodegenController.java of the component Codegen Module. This manipulation causes missing authorization.

Cross-tenant access through a caller-controlled identifiernvd.nist.gov
Security advisory2026-12-01

github.com/openfga/openfga issue could allow unauthorized access

In OpenFGA, the Check or BatchCheck APIs, as well as ListObjects or StreamedListObjects with --listObjects-pipeline-enabled=false, could return incorrect results.

Cross-tenant access through a caller-controlled identifiergithub.com
Security advisory2026-11-30

389 Directory Server issue could allow unauthorized access

A flaw was found in 389 Directory Server. The Virtual List View (VLV) candidate-list construction evaluates LDAP search filters without enforcing attribute access controls, then publishes the resulting candidate count in…

Cross-tenant access through a caller-controlled identifiernvd.nist.gov
Security advisory2026-11-27AI agent

WhoDB issue could allow unauthorized access

WhoDB from 0.88.0 before 0.132.0 contains an access control bypass in the MCP whodb_query tool, letting callers run file-writing statements without approval because the sqlguard keyword classifier omits INTO, OUTFILE and…

Indirect prompt injection changes agent behaviornvd.nist.gov
Security advisory2026-11-24

Pion DTLS issue could allow unauthorized access

Pion DTLS is a Go implementation of Datagram Transport Layer Security. From 2.1.0 until 3.1.14, a server with a SessionStore saved the session ID and master secret after ClientKeyExchange, before receiving a valid…

Cross-tenant access through a caller-controlled identifiernvd.nist.gov
Security advisory2026-11-24

amirhamza05 Student-Management-System issue could allow unauthorized access

A flaw has been found in amirhamza05 Student-Management-System up to 449397e35d42e3779f14f0bfc654ab307103f7e3. This issue affects some unknown processing of the file page_action/user/user_profile.php of the component…

Cross-tenant access through a caller-controlled identifiernvd.nist.gov
Security advisory2026-11-24

Listdom by Webilia WordPress plugin issue could allow unauthorized access

Listdom by Webilia plugin for WordPress before 6.5.0 contains a missing authorization vulnerability that allows authenticated attackers with Contributor-level access or above to retrieve the email address and user ID of…

Cross-tenant access through a caller-controlled identifiernvd.nist.gov

In the standards

CollectSEA's mapping; not an official determination by the standards bodies.