CVE-2026-135144: Missing authorization when beforeQuery callbacks are skipped in Laravel MongoDB
A query builder component in a MongoDB integration library for a PHP web framework does not run the query-modification callbacks that an application registers with the framework before sending read, update, and delete operations to the database. As a result, a filter that an application relies on to limit which records a request may touch can be omitted silently. A user with basic application privileges may be able to read or change records that the application intended to keep out of reach.
Affected Software
Event History
Frequently Asked Questions
What conditions make an application vulnerable to unauthorized data access or modification?
The application must use this MongoDB integration library and rely on framework-registered beforeQuery callbacks to add filters that restrict which records a requester can read, update, or delete. When those callbacks are skipped, the intended filter can be silently omitted.
What level of access does an attacker need?
An attacker needs basic application privileges. No user interaction is required, and the issue can affect read, update, and delete operations.