CVE-2026-118510
published high CVSS 4.0 · 7.7Laravel MongoDB `whereDoesntHave` misses deny records for numeric string IDs
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MongoDB | — | mongodb/laravel-mongodbLaravel MongoDB · 3.2.3 to < 5.12.0 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.7 / 10
- Severity
- high
- Provider
- mongodb · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.8 | high | mongodb · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MongoDB | Laravel MongoDB | 3.2.3 to < 5.12.0 (affected · semver)Default: unaffected | mongodb · cna |
Weaknesses
1- CWE-843 CWE-843: Access of Resource Using Incompatible Type ('Type Confusion')
References
2Provider assertions
2mongodb · cna
Laravel MongoDB `whereDoesntHave` misses deny records for numeric string IDs
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c9b200a8f3bbac5bf780ed12ff6e60ab9342fda996d497a63cbc2ecb54f4c890
- Ingested
- 07 Nov 2026, 23:39:08 UTC
- Source record
- Official CVE record