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

Published Oct 28, 2026
·
Updated

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 Software

1 affected component
composer/mongodb/laravel-mongodb

Event History

Oct 28, 2026
CVE Published
via MITRE·04:15 PM
Data Sourced
via MITRE·04:15 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which applications are exposed to meaningful impact?

Applications are exposed when they use this library’s relationship absence check to decide which documents a request may view, modify, or delete, and the relevant identifiers are numeric strings. The issue can cause deny records to be missed silently.

2

What level of access does an attacker need?

An attacker needs basic privileges. No user interaction is required, and the described impact includes unauthorized reading, modification, or removal of documents that should have been withheld.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203