7.7High

CVE-2026-88022Unauthorized document disclosure and deletion via query-operator injection in explicit equality filters in MongoDB integration for Laravel

MongoDB Laravel MongoDB (PHP) Published: (2 months ago)

Description

Improper neutralization of special elements in data query logic in the MongoDB integration for Laravel can cause an array supplied to an explicit equality filter to be interpreted as a query condition rather than as a literal value. This affects the three-argument `where` method when the operator is `=` or `eq`, as well as the `find` and `delete` methods that use that code path. An attacker who can cause an affected application to supply an operator-shaped array to one of these APIs may obtain a document other than the intended target or delete documents beyond the intended target.

Weakness (CWE): CWE-943

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
mongodb laravel mongodb 1.0.0 – < 5.11.0
MongoDB Laravel MongoDB (PHP) 1.0.0 – < 5.11.0

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:mongodb:laravel_mongodb:*:*:*:*:*:*:*:* ≥ 1.0.0 < 5.11.0