CVE-2026-135142
An incorrect authorization weakness in the embedded relation handling of the Laravel MongoDB library may allow a user with basic application privileges to alte…
Impact
An incorrect authorization weakness in the embedded relation handling of the Laravel MongoDB library may allow a user with basic application privileges to alter records belonging to other users. After an embedded relation is pre-loaded, a routine write on that record is issued without the constraint that limits it to the record the user is permitted to change. This may result in unintended modification or loss of stored data for other users of the same application.
An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: high risk of data or systems being changed.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| MongoDB | PHP Driver | from 4.0.0 before 5.12.2 |
| MongoDB Inc. | PHP Driver | from 4.0.0 before 5.12.2 |