CVE-2026-118510
Dashboard / Vulnerabilities / CVE-2026-118510
CVE-2026-118510
Summary: Laravel MongoDB `whereDoesntHave` misses deny records for numeric string IDs
Details: 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.
References: https://github.com/mongodb/laravel-mongodb/releases/tag/5.12.0, https://jira.mongodb.org/browse/PHPLARA-148, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118510.json, https://nvd.nist.gov/vuln/detail/CVE-2026-118510
Affected packages
Package
Name:
Purl:
Affected ranges
Type: GIT
Events:
