CVE-2026-118510
CVE-2026-118510 · Laravel MongoDB `whereDoesntHave` misses deny records for numeric string IDs
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 7.7 · High · EPSS 0.3% · Fix available
- Published
- Updated
Affected products and versions
laravel mongodb
- Versions
- ≥ 3.2.3, < 5.12.0: Affected (semver)
Update to 5.12.0