CVE-2026-135144
Missing authorization when beforeQuery callbacks are skipped in Laravel MongoDB
High · 7.6Fix available
- CVSS
- 7.6
- EPSS
- 0.75% (p51)
- Published
- 2026-11-25
- Age
- 3d old
- Modified
- 2026-11-25
- Product
- MongoDB PHP Driver
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
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.
Fixed in
5.12.2
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | PHP Driver | >=4.8.0, <5.12.2 | 5.12.2 |