CVE-2026-135228
Published:November 25, 2026
Updated:November 26, 2026
A vulnerability in the MongoDB integration package for the Laravel framework allows an unauthorized user to bypass mass assignment attribute protections. When an application uses attribute deny-lists to guard sensitive model fields, specially crafted request payloads containing database operator keys can circumvent these protections. An unauthorized user with network access to an affected application endpoint can modify guarded attributes, potentially leading to privilege escalation within the application
Affected Packages
https://github.com/mongodb/laravel-mongodb.git (GITHUB):
Affected version(s) >=3.6.5 <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.2mongodb/laravel-mongodb (PHP):
Affected version(s) =v4.0.0-ALPHA2 <5.12.2 || >=5.0.0-rc1 <5.12.2 || >=3.6.5 <5.12.2 || >=4.0.0 <5.12.2 || =4.0.0-rc1 <5.12.2Fix Suggestion:
Update to version 5.12.2jenssegers/mongodb (PHP):
Affected version(s) >=3.6.5 <5.12.2 || >=5.0.0-rc1 <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.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)
Improperly Controlled Modification of Dynamically-Determined Object Attributes