CVE-2026-135142: MongoDB PHP Driver
Medium severity, CVSS 6.5. EPSS: 0.5% probability of exploitation activity in the next 30 days.
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.
What to do
The record states a fixed version for the versions it affects. If you run one, update to it.
- MongoDB PHP Driver, from 4.0.0, before 5.12.2: fixed in 5.12.2
Affected products
- MongoDB PHP Driver: from 4.0.0, before 5.12.2 (fixed in 5.12.2)
Published 2026-11-25. Last modified 2026-11-25.