Skip to main content
← All vulnerabilities
CVE-2026-118510EUVD-2026-112255

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.12.0
None on Exploit-DB, Metasploit or GitHub

Summary

This vulnerability affects the MongoDB integration library for Laravel, which is used to build database queries for applications on the Laravel framework. Because certain "does not have related record" checks can silently fail to match numeric string identifiers, an authenticated user with basic privileges could view, modify, or delete documents that the application meant to exclude.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original 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.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • mongodb/laravel-mongodb

    From 3.2.3 · fixed in 5.12.0

References 2

GitHub · mongodb/laravel-mongodb

jira.mongodb.org