Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
Medium 6.5CVE-2026-135228

Mass assignment guard bypass in the Laravel MongoDB Eloquent integration

Published 25/11/2026 · Updated 25/11/2026 · MongoDB PHP Driver

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

MongoDB PHP Driver3.6.5 – < 5.12.2Fixed in: 5.12.2

CVSS vector, explained

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Attack vector
Network (from the internet)
Attack complexity
Low
Privileges required
Regular user
User interaction
Not required
Scope
Vulnerable component only
Confidentiality
None
Integrity
High impact
Availability
None

Weakness type (CWE)

  • CWE-915 Improperly Controlled Modification of Dynamically-Determined Object Attributes

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.