CVE-2026-135228: Mass assignment guard bypass in the Laravel MongoDB Eloquent integration
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 Software
Event History
Frequently Asked Questions
Which applications are exposed to this issue?
Applications using the MongoDB Laravel integration package are exposed when they rely on attribute deny-lists to guard sensitive Eloquent model fields and expose an affected endpoint to network-accessible users.
What does an attacker need to exploit it?
An attacker needs network access to an affected application endpoint and must be able to submit a specially crafted request payload containing database operator keys. No user interaction is required; the listed attack vector is network-based and privileges required are low.
What is the likely impact of successful exploitation?
A successful bypass lets an attacker modify model attributes that the application intended to guard through deny-lists. If those attributes control permissions or roles, this can result in privilege escalation within the application.