Missing authorization when beforeQuery callbacks are skipped in Laravel MongoDB
- State
- Published
- Severity
- 7.6 High
- Published
- Nov 25, 2026
- Updated
- Nov 25, 2026
- Reserved
- Nov 23, 2026
Description
A query builder component in a MongoDB integration library for a PHP web framework does not run the query-modification callbacks that an application registers with the framework before sending read, update, and delete operations to the database. As a result, a filter that an application relies on to limit which records a request may touch can be omitted silently. A user with basic application privileges may be able to read or change records that the application intended to keep out of reach.
| Product | Versions |
|---|---|
| PHP Driver MongoDB | 4.8.0 to before 5.12.2 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 7.6 High | mongodb | |
| 3.1 | 8.1 High | mongodb |
Weaknesses
- CWE-862 Missing Authorization
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.