{"id":"CVE-2026-118510","aliases":["CVE-2026-118510"],"related":[],"kind":"vulnerability","state":"published","title":"Laravel MongoDB `whereDoesntHave` misses deny records for numeric string IDs","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-28T16:15:08.426Z","modified":"2026-11-05T19:17:13.857Z","severity":{"scorer":"mongodb","scheme":"CVSS:4.0","vector":"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","score":7.7,"rating":"HIGH"},"severities":[{"scorer":"mongodb","scheme":"CVSS:4.0","vector":"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","score":7.7,"rating":"HIGH"},{"scorer":"mongodb","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-843"],"affected":[{"ranges":[{"type":"semver","introduced":"3.2.3","fixed":"5.12.0","status":"affected"}],"vendor":"MongoDB","product":"Laravel MongoDB","package":"mongodb/laravel-mongodb","source":"cvelist"}],"references":[{"url":"https://github.com/mongodb/laravel-mongodb/releases/tag/5.12.0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://jira.mongodb.org/browse/PHPLARA-148","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mongodb","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-11-05T18:56:46.299Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-118510","url":"https://www.cve.org/CVERecord?id=CVE-2026-118510","licence":"CVE Terms of Use","modified":"2026-11-05T18:57:35.137Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-118510","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118510","licence":"Public domain","modified":"2026-11-05T19:17:13.857Z"}],"updatedAt":"2026-11-25T22:59:47.643Z","epss":{"score":0.00374,"percentile":0.33394,"date":"2026-12-01T12:00:22.000Z"}}