Laravel MongoDB (PHP): Improper Neutralization of Special Elements in Data Query Logic
CVE-2026-88022 is a high-severity improper neutralization of special elements in data query logic vulnerability in Laravel MongoDB (PHP) from MongoDB, with a CVSS 3.1 base score of 7.7 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. The record lists version 5.11.0 as the first without the flaw, so updating Laravel MongoDB (PHP) to that release or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.43% chance of exploitation within 30 days, which is low compared with other CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update Laravel MongoDB (PHP) to 5.11.0 or a later version.
- Update Laravel Mongodb to 5.11.0 or a later version.
- Read the advisory on jira.mongodb.org for workarounds and exact fixed builds.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| MongoDB | Laravel MongoDB (PHP) | 1.0.0 up to, but not including, 5.11.0 | 5.11.0 |
| MongoDB | Laravel Mongodb | 1.0.0 up to, but not including, 5.11.0 | 5.11.0 |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- HighSuccess depends on conditions outside the attacker's control.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- LowSome restricted data can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H. Scored by CNA (mongodb.com).
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 4.0 | 8.4 | High | CNA (mongodb.com) |
| CVSS 3.1 | 7.7 | High | CNA (mongodb.com) |
Official 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.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Improper Neutralization of Special Elements in Data Query Logic
The product generates a query intended to access or manipulate data in a data store such as a database, but it does not neutralize or incorrectly neutralizes special elements that can modify the intended logic of the query.
More Improper Neutralization of Special Elements in Data Query Logic vulnerabilities (CWE-943)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: partial).
- Record last changed materially (score, affected products, status or references).
References
Advisories
Other vulnerabilities in Laravel MongoDB (PHP)
- 7.1 High severity
- 8.1 High severity
Recent Improper Neutralization of Special Elements in Data Query Logic vulnerabilities
- 8.3 High severity
- 8.3 High severity
- 8.3 High severity
- 8.1 High severity
- 8.3 High severity
- 8.3 High severity
Spotted an error? Tell us.