CVE-2026-118510 Laravel MongoDB `whereDoesntHave` misses deny records for numeric string IDs
- Exploited in the wild
- Not known
- Fix
- None listed
What is CVE-2026-118510?
CVE-2026-118510 is a high-severity vulnerability in Laravel MongoDB, published on 28 Oct 2026.
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.
Weakness: CWE-843
Which versions are affected by CVE-2026-118510?
How do I fix CVE-2026-118510?
No fix has been published for CVE-2026-118510 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-118510 being exploited?
There is no known exploitation of CVE-2026-118510 in the wild and no public exploit code.