Unauthorized document disclosure and deletion via query-operator injection in explicit equality filters in MongoDB integration for Laravel (MongoDB Laravel MongoDB (PHP))

CVE-2026-88022
HIGH 8.4

At a glance

Source
NVD
EPSS
EPSS 0.43 % · percentile 38 ()
State
PUBLISHED
Published
Updated
Assigner
mongodb
NVD status
Analyzed

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.

Weaknesses (CWE)

  • CWE-943 — Improper Neutralization of Special Elements in Data Query Logic

References

Scores

VersionScoreVectorScored by
CVSS 4.0HIGH 8.4CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:Nmongodb
CVSS 3.1HIGH 7.7CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:Hmongodb
CVSS 4.0HIGH 8.4CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XNVD · cna@mongodb.com (Secondary)
CVSS 3.1HIGH 7.7CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:HNVD · cna@mongodb.com (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
MongoDB · Laravel MongoDB (PHP)affected 1.0.0 < 5.11.0

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD