CVE-2026-118510
Laravel MongoDB `whereDoesntHave` misses deny records for numeric string IDs
CVSS Score
8.8
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-843 |
| Vendor | mongodb |
| Product | laravel mongodb |
| Ecosystems | |
| Industries | Technology |
| Published | Oct 28, 2026 |
Stay Ahead of the Next One
Get instant alerts for mongodb laravel mongodb
Be the first to know when new high vulnerabilities affecting mongodb laravel mongodb are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Affected Versions
MongoDB / Laravel MongoDB
3.2.3 < 5.12.0