CVE-2026-135144
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 …
Impact
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.
An attacker can exploit this over the network, with a regular user account, without any action by a user. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of data being read, high risk of data or systems being changed.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| MongoDB | PHP Driver | from 4.8.0 before 5.12.2 |
| MongoDB Inc. | PHP Driver | from 4.8.0 before 5.12.2 |