Skip to content
DayZeroHub
High Not yet writtenCVSS 7.6CVE-2026-135144

CVE-2026-135144: Missing authorization when beforeQuery callbacks are skipped in Laravel MongoDB

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-135144: high-severity vulnerability (CVSS 7.6) in MongoDB PHP Driver.

What happened

Original description from the source: A query builder component in a MongoDB integration library for a PHP web framework does not run the query-modification callbacks that an application registers with the framework before sending read, update, and delete operations to the database. As a result, a filter that an application relies on to limit which records a request may touch can be omitted silently. A user with basic application privileges may be able to read or change records that the application intended to keep out of reach.

Why it matters

High severity, CVSS 7.6.

Affected products and versions

MongoDB PHP Driver >= 4.8.0, < 5.12.2

ProductVersionsFixed in
MongoDB PHP Driver>= 4.8.0, < 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-862

Relevant change history

  1. Published

    Preliminary advisory published.