CVE-2026-118510
7.7high
Laravel MongoDB `whereDoesntHave` misses deny records for numeric string IDs
- Severity
- 7.7high CVSS:4.0 by mongodb
- Exploit likelihood
- 0.37% (higher than 33% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mongodb
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| mongodb/laravel-mongodb | from 3.2.3 before 5.12.0 | CVE List |
All scores
| mongodb | 7.7high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| mongodb | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-118510 changed 2026-11-05 | CVE Terms of Use |
| NVD | CVE-2026-118510 changed 2026-11-05 | Public domain |