Improper neutralization of query expressions in incrementEach() and decrementEach() in Laravel MongoDB
- State
- Published
- Severity
- 8.3 High
- Published
- Nov 25, 2026
- Updated
- Nov 25, 2026
- Reserved
- Nov 23, 2026
Description
A data-query neutralization weakness in the query builder of the MongoDB integration for a PHP web framework allows values supplied to certain bulk counter-update helpers to be interpreted by the database as query expressions rather than stored as plain text. An application that passes externally supplied data into these helpers may write unintended values into stored documents and may result in unintended disclosure of other data held on the same document. No credentials are required of the party supplying the value.
| Product | Versions |
|---|---|
| PHP Driver MongoDB | 4.8.0 to before 5.12.2 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.3 High | mongodb | |
| 3.1 | 8.2 High | mongodb |
Weaknesses
- CWE-943 Improper Neutralization of Special Elements in Data Query Logic
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.