CVE-2026-118510 Laravel MongoDB `whereDoesntHave` misses deny records for numeric string IDs
HighCVSS 7.7
EPSS 0.28%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- Laravel
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| MongoDB Laravel MongoDB | >= 3.2.3, < 5.12.0 | 5.12.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| MongoDB Laravel MongoDB | >= 3.2.3, < 5.12.0 | 5.12.0 |
References
- github.com
- jira.mongodb.org
- ENISA EUVD EUVD-2026-112255 third-party-advisory