CVE-2026-135228
Mass assignment guard bypass in the Laravel MongoDB Eloquent integration
7.1
Description
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 products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| php driver | mongodb | 3.6.5 → <5.12.2 | 5.12.2 | CVE.org |