Mass assignment guard bypass in the Laravel MongoDB Eloquent integration
- State
- Published
- Severity
- 7.1 High
- Published
- Nov 25, 2026
- Updated
- Nov 25, 2026
- Reserved
- Nov 23, 2026
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
| Product | Versions |
|---|---|
| PHP Driver MongoDB | 3.6.5 to before 5.12.2 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 7.1 High | mongodb | |
| 3.1 | 6.5 Medium | mongodb |
Weaknesses
- CWE-915 Improperly Controlled Modification of Dynamically-Determined Object Attributes
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.