CVE-2026-118510

published 28 Oct 2026 · updated 5 Nov 2026

Laravel MongoDB `whereDoesntHave` misses deny records for numeric string IDs

8.8HighCVSS 8.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Laravel MongoDB 5.12.0.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MongoDBLaravel MongoDB>=3.2.3 <5.12.05.12.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in MongoDB, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-118510 severity on Zeptric[![CVE-2026-118510](https://zeptric.io/badge/cve/CVE-2026-118510.svg)](https://zeptric.io/cve/CVE-2026-118510)