CVE-2026-135144
Missing authorization when beforeQuery callbacks are skipped in Laravel MongoDB
7.6
Description
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 products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| php driver | mongodb | 4.8.0 → <5.12.2 | 5.12.2 | CVE.org |