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.
Published: 2026-09-10
Score: 8.4 High
EPSS: < 1% Very Low
KEV: No
Impact: Unauthorized Data Exposure/Deletion
Action: Patch Now
AI Analysis

Impact

Improper neutralization of special elements in data query logic within the Laravel MongoDB integration allows an attacker to supply an array that is interpreted as a query operator instead of a literal value. When the three‑argument where method uses the ‘=’ or ‘eq’ operator, or when find and delete methods call that code path, the array can dictate the query condition. This means an attacker who can influence the data sent to these APIs may retrieve a document that was not intended in unauthorized data exposure or loss. The weakness corresponds to CWE‑943, improper neutralization of special elements.

Affected Systems

The vulnerability affects the Laravel MongoDB (PHP) integration. Any application that uses the three‑argument where method’ operator, as well as the find and delete methods that route through this logic, is potentially impacted. No specific vendor‑supplied version range is provided in the current data, so all public releases containing this code path should be reviewed.

Risk and Exploitability

The CVSS score of 8.4 indicates a high severity. While the EPSS score is not available, the vulnerability is not listed in the CISA KEV catalog. The attack vector is inferred to be through user input that constructs an array payload, which is then passed to the affected query methods. An attacker does not need special privileges; any user able to provide data to the query will be able to manipulate the query logic to exfiltrate or delete data. The impact is significant because it can lead to unauthorized disclosure or loss of data, compromising confidentiality and integrity.

Generated by OpenCVE AI on September 10, 2026 at 23:48 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Laravel MongoDB (PHP) driver to the latest release that contains the fix for array-based query injection.
  • Validate all input consumed by the where, find, and delete methods, ensuring arrays are not accepted as literals; enforce scalar values where equality filters are expected.
  • Replace or refactor direct equality filter usage with safer query patterns that treat arrays explicitly, or perform strict type checks before passing data to the query API.

Generated by OpenCVE AI on September 10, 2026 at 23:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 29 Sep 2026 17:00:00 +0000

Type Values Removed Values Added
First Time appeared Mongodb laravel Mongodb
CPEs cpe:2.3:a:mongodb:laravel_mongodb:*:*:*:*:*:*:*:*
Vendors & Products Mongodb laravel Mongodb

Sun, 13 Sep 2026 20:30:00 +0000

Type Values Removed Values Added
First Time appeared Mongodb
Mongodb laravel Mongodb (php)
Vendors & Products Mongodb
Mongodb laravel Mongodb (php)

Thu, 10 Sep 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 10 Sep 2026 17:45:00 +0000

Type Values Removed Values Added
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.
Title Unauthorized document disclosure and deletion via query-operator injection in explicit equality filters in MongoDB integration for Laravel
Weaknesses CWE-943
References
Metrics cvssV3_1

{'score': 7.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H'}

cvssV4_0

{'score': 8.4, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Mongodb Laravel Mongodb Laravel Mongodb (php)
cve-icon MITRE

Status: PUBLISHED

Assigner: mongodb

Published:

Updated: 2026-09-10T18:12:12.204Z

Reserved: 2026-09-09T19:49:17.463Z

Link: CVE-2026-88022

cve-icon Vulnrichment

Updated: 2026-09-10T18:12:09.061Z

cve-icon NVD

Status : Analyzed

Published: 2026-09-10T18:18:12.310

Modified: 2026-09-29T16:51:46.273

Link: CVE-2026-88022

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-13T20:00:05Z

Weaknesses
  • CWE-943

    Improper Neutralization of Special Elements in Data Query Logic