Laravel MongoDB (PHP): Improper Neutralization of Special Elements in Data Query Logic
CVE-2026-88027 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 8.1 out of 10. It can be exploited remotely over the network by an attacker with a low-privileged account, 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.27% 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.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| MongoDB | Laravel MongoDB (PHP) | 4.0.0 up to, but not including, 5.11.0 | 5.11.0 |
| MongoDB | Laravel Mongodb | 4.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
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- LowA basic user account is enough.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- NoneNo data is disclosed.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 4.0 | 7.1 | High | CNA (mongodb.com) |
| CVSS 3.1 | 7.1 | High | CNA (mongodb.com) |
| CVSS 3.1 | 8.1 | High | NVD |
Official description
Improper neutralization of special elements in data query logic in the embedded-document relation handling of the MongoDB integration for Laravel can cause a caller-supplied embedded record identifier to be interpreted as a query condition rather than as a literal identifier. An authenticated user who can influence such an identifier may delete all embedded documents in a targeted record or overwrite an embedded document other than 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
- 7.7 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.