CVE-2026-118510
Laravel MongoDB `whereDoesntHave` misses deny records for numeric string IDs
- State
- Published
- Severity
- 7.7 High
- Published
- Oct 28, 2026
- Updated
- Oct 28, 2026
- Reserved
- Oct 28, 2026
Description
A type-handling flaw in the relationship query building of this MongoDB integration library can cause a check for the absence of a related record to be compiled with an identifier of the wrong data type. In an application that relies on such a check to decide which documents a request may see or act on, a user with basic privileges may be served, may change, or may remove documents that the check was intended to withhold. The failure is silent and produces no error.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 7.7 High | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | mongodb |
| 3.1 | 8.8 High | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | mongodb |
Weaknesses
- CWE-843 Access of Resource Using Incompatible Type ('Type Confusion')
Affected Products
| Product | Versions |
|---|---|
Laravel MongoDBMongoDB |
|
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.