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

Published Updated

Unauthenticated users can bypass attribute deny-lists in Laravel apps using MongoDB Eloquent integration to modify guarded fields.

CVSS score

High

7.1/10

CVSS 4.0 · Scored by Mongodb Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
None listed
No fixed version published
Attack path
Over the internet
Any signed-in user, no user action

What is CVE-2026-135228?

CVE-2026-135228 is a high-severity security feature bypass vulnerability in MongoDB PHP Driver, published on 25 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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

Weakness: CWE-915

How severe is CVE-2026-135228?

CVE-2026-135228 scores 7.1 out of 10 under CVSS 4.0, which is high severity. It was scored by Mongodb.

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
Low
User interaction
None
Confidentiality
None
Integrity
High
Availability
None

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Which versions are affected by CVE-2026-135228?

An affected version is only exploitable if your software uses the vulnerable function or option. Many projects that include it are not exposed.

How do I fix CVE-2026-135228?

No fix has been published for CVE-2026-135228 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version, and do not rely on a single control for protection. More about Security feature bypass.

Is CVE-2026-135228 being exploited?

There is no known exploitation of CVE-2026-135228 in the wild and no public exploit code.

Sources

Is CVE-2026-135228 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free