CVE-2026-135142 Incorrect authorization in embedded relation writes in Laravel MongoDB

Published Updated

Low-privileged users can modify other users' records via embedded relations in Laravel MongoDB; Laravel apps using it should care.

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-135142?

CVE-2026-135142 is a high-severity missing authorization 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

An incorrect authorization weakness in the embedded relation handling of the Laravel MongoDB library may allow a user with basic application privileges to alter records belonging to other users. After an embedded relation is pre-loaded, a routine write on that record is issued without the constraint that limits it to the record the user is permitted to change. This may result in unintended modification or loss of stored data for other users of the same application.

Weakness: CWE-863

How severe is CVE-2026-135142?

CVE-2026-135142 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-135142?

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-135142?

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

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-135142 being exploited?

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

Sources

Is CVE-2026-135142 in your software?

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

Check your SBOMs for free