---
id: CVE-2026-88022
title: >-
  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
summary: >-
  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…
severity: high
cvss: 7.7
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H'
cwe:
  - CWE-943
vendor: mongodb
product: laravel_mongodb
affected:
  - 'laravel_mongodb >= 1.0.0, < 5.11.0'
patched:
  - laravel_mongodb 5.11.0
published: '2026-09-10'
updated: '2026-09-29'
sourceUpdated: '2026-09-29T16:51:46.273'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-88022'
references:
  - url: 'https://jira.mongodb.org/browse/PHPLARA-260'
    label: cna@mongodb.com
tags:
  - nvd
  - cve.org
epss: 0.00433
epssPercentile: 0.37414
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-10T18:12:04.328533Z'
ingestedAt: '2026-09-11T16:45:48.028Z'
---

## Overview

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.

## Affected

- `laravel_mongodb >= 1.0.0, < 5.11.0`

## Remediation

Upgrade past the affected range:

- `laravel_mongodb 5.11.0`
