CVE-2026-135142
Published:November 25, 2026
Updated:November 27, 2026
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 Packages
https://github.com/mongodb/laravel-mongodb.git (GITHUB):
Affected version(s) >=v2.0.0 <5.12.2 || >=v3.0.0-alpha <5.12.2 || =v4.0.0-ALPHA2 <5.12.2 || >=4.0.0 <5.12.2 || >=5.0.0-rc1 <5.12.2 || =4.0.0-rc1 <5.12.2Fix Suggestion:
Update to version 5.12.2jenssegers/mongodb (PHP):
Affected version(s) >=5.0.0-rc1 <5.12.2 || >=v2.0.0 <5.12.2 || >=v3.0.0-alpha <5.12.2 || =v4.0.0-ALPHA2 <5.12.2 || >=4.0.0 <5.12.2 || =4.0.0-rc1 <5.12.2Fix Suggestion:
Update to version 5.12.2mongodb/laravel-mongodb (PHP):
Affected version(s) >=5.0.0-rc1 <5.12.2 || =v4.0.0-ALPHA2 <5.12.2 || >=v2.0.0 <5.12.2 || >=v3.0.0-alpha <5.12.2 || >=4.0.0 <5.12.2 || =4.0.0-rc1 <5.12.2Fix Suggestion:
Update to version 5.12.2Related ResourcesĀ (1)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.1
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Incorrect Authorization
EPSS
Base Score:
0.47