CVE-2026-135142: Incorrect authorization in embedded relation writes in Laravel MongoDB

Published Nov 25, 2026
·
Updated

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 Software

1 affected component
composer/mongodb/laravel-mongodb

Event History

Nov 25, 2026
CVE Published
via MITRE·04:28 PM
Data Sourced
via MITRE·04:28 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Applications using the Laravel MongoDB library are exposed when they use embedded relations and allow users with basic application privileges to perform writes involving pre-loaded embedded relation records. The impact is cross-user modification or loss of stored data within the same application.

2

What does an attacker need to exploit it?

The attacker needs basic application privileges and a path that pre-loads an embedded relation before issuing a routine write. No user interaction is required.

3

What condition causes the authorization failure?

The issue occurs when a write is performed after an embedded relation has been pre-loaded and the write does not retain the constraint limiting changes to the record the user is authorized to modify.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203