Skip to content
DayZeroHub
High Not yet writtenCVSS 7.1CVE-2026-135228

CVE-2026-135228: Mass assignment guard bypass in the Laravel MongoDB Eloquent integration

MongoDB PHP Driver

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-135228: high-severity vulnerability (CVSS 7.1) in MongoDB PHP Driver.

What happened

Original description from the source: 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

Why it matters

High severity, CVSS 7.1.

Affected products and versions

MongoDB PHP Driver >= 3.6.5, < 5.12.2

ProductVersionsFixed in
MongoDB PHP Driver>= 3.6.5, < 5.12.2—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-915

Relevant change history

  1. Published

    Preliminary advisory published.