Broken Object Level Authorization (BOLA)
The API equivalent of IDOR: an API fails to check that a caller may access the specific object requested.
What it is
Broken object level authorization is the leading API security risk, where an API returns or modifies an object based on an identifier in the request without confirming the caller owns or may access that object. It is essentially the API form of IDOR. Because APIs expose objects directly and at scale, the impact can be severe.
Why it matters
APIs often serve data to many clients programmatically, so a missing ownership check can expose large volumes of other users' records quickly.
How to fix it
Verify object-level ownership on the server for every API request, consistently across all endpoints, and avoid relying on the client to enforce access.