Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-135142 EUVD-2026-135549

Incorrect authorization in embedded relation writes in Laravel MongoDB

Published Nov 25, 2026 · Updated Nov 25, 2026 · Assigned by mongodb

Description

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.

Affected products

VendorProductAffectedFixed
MongoDB PHP Driver 4.0.0 – < 5.12.2 5.12.2

Advisories 1

References