NetSight
high7.1

CVE-2026-135228

A vulnerability in the MongoDB integration package for the Laravel framework allows an unauthorized user to bypass mass assignment attribute protections.

Impact

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

An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: high risk of data or systems being changed.

Affected products

VendorProductAffected versions
MongoDBPHP Driver
from 3.6.5 before 5.12.2
MongoDB Inc.PHP Driver
from 3.6.5 before 5.12.2

Weakness classification

References