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.
Bob’s invoice is returned to Alice.
What goes wrong:
- Alice opens her invoice at /invoices/1041.
- She edits the number in the address bar to 1042.
- The API trusts the ID from the request and never checks who owns it.
- Bob’s invoice is returned to Alice.
With the safeguard:
- Alice opens her invoice at /invoices/1041.
- She edits the number in the address bar to 1042.
- The API scopes every query to the tenant of the signed-in user.
- 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. 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. 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.
Real incidents with this pattern
Documented incidents first. Each links to its public source.
Non-secret app ID lets anyone register for private apps built on the Base44 AI app builder (2025)
By supplying only an application's non-secret app_id to undocumented registration and email-verification endpoints, an attacker could create a verified account on private applications built with Base44.
Safeguard: Never use an identifier as an authorization check
Default password and an IDOR in McDonald's AI hiring chatbot platform expose data on 64 million applicants (2025)
McHire, the chatbot recruiting platform used by most McDonald's franchisees, lets applicants chat with a bot named Olivia, built by Paradox.ai, that collects personal information.
Safeguard: Remove default and test accounts before production
Privilege escalation and a certificate-validation flaw allow cross-account database access (Azure PostgreSQL "ExtraReplica", 2022)
Researchers exploited a bug in Azure's modified PostgreSQL engine to gain superuser privileges and run operating-system commands on their own database instance.
Safeguard: Validate tenant identity with strict, anchored certificate checks
Missing access checks in a document portal expose over 800 million First American images (2019)
Sequential integer URLs in imaging web portal lacked object-level authorization checks; exposed 885 million escrow and wire documents.
Safeguard: Enforce object-level authorization
More records with this pattern187 security advisories · 4 illustrative scenarios
Showing 12 of 191. See all records with this pattern
Hippoo Mobile App for WooCommerce WordPress plugin issue could allow unauthorized access
The Hippoo Mobile App for WooCommerce plugin for WordPress is vulnerable to Missing Authorization via the wc-hippoo/v1/ext/wp/v2/settings REST endpoint in all versions up to, and including, 1.13.0.
Appointment Booking Plugin WordPress plugin issue could allow unauthorized access
The Appointment Booking Plugin – LatePoint | Calendar & Scheduling for WordPress plugin for WordPress is vulnerable to authorization bypass in all versions up to, and including, 5.7.10.
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.
Campcodes Online Hotel Reservation System issue could allow unauthorized access
A vulnerability was determined in Campcodes Online Hotel Reservation System 1.0. This impacts an unknown function of the file admin/edit_query_room.php of the component Admin Panel.
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.
OpenTelemetry Collector: exporterhelper metadata partition-key collisions allow cross-tenant telemetry mixture
The exporter queue-batching code builds its per-tenant partition key without clear boundaries between values. Two different sets of client metadata can therefore produce the same key.
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…
github.com/tinyauthapp/tinyauth issue could allow unauthorized access
Tinyauth's Nginx forward-auth endpoint trusts the client-supplied X-Original-URL header when determining which application's access controls to enforce.
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…
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…
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…
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…
In the standards
CollectSEA's mapping; not an official determination by the standards bodies.