Vulnerability · Published Oct 28, 2026 · Assigned by mongodb

CVE-2026-118510Laravel MongoDB `whereDoesntHave` misses deny records for numeric string IDs

High 8.8

In plain English

A high-severity type confusion in Laravel MongoDB from MongoDB. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 21% of all known vulnerabilities).

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)0.3%top 79.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected products (as reported)

VendorProductVersions
MongoDB Laravel MongoDB 3.2.3 – before 5.12.0

Weakness: CWE-843 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References