{"schemaVersion":4,"id":"CVE-2026-118510","aliases":[],"status":"published","duplicateOf":null,"title":"Laravel MongoDB `whereDoesntHave` misses deny records for numeric string IDs","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.","dates":{"published":"2026-10-28T16:15:08.426Z","modified":"2026-11-05T18:57:35.137Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":7.7,"severity":"high","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":7.7,"severity":"high","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00374,"percentile":0.33396,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0.09199999999999998,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00282},"history":[{"date":"2026-10-29T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00374,"percentile":0.33396}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00282,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00508,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00374,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00374,"percentile":0.33396}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-843","name":"Access of Resource Using Incompatible Type","description":"The product allocates or initializes a resource such as a pointer, object, or variable using one type, but it later accesses that resource using a type that is incompatible with the original type.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/843.html"}],"affected":[{"vendor":"mongodb","product":"laravel mongodb","name":"Laravel MongoDB","label":"laravel mongodb","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.2.3, < 5.12.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.2.3","startInclusive":true,"end":"5.12.0","endInclusive":false}}],"versionsText":"≥ 3.2.3, < 5.12.0","eol":null,"hubHref":"/vendor/mongodb/laravel_mongodb"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/mongodb/laravel-mongodb/releases/tag/5.12.0","label":"github.com/mongodb/laravel-mongodb/releases/tag/5.12.0","hostname":"github.com","tags":[]},{"url":"https://jira.mongodb.org/browse/PHPLARA-148","label":"jira.mongodb.org/browse/PHPLARA-148","hostname":"jira.mongodb.org","tags":[]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-28T16:15:08.426Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-11-05T18:57:35.137Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 7.7, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,77],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00374,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-11-05T18:57:35.137Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.7,"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","version":"4.0","headline":true},{"type":"cvss","source":"cve.org","date":"2026-11-05T18:57:35.137Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-11-05T18:57:35.137Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.7,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","version":"4.0"},{"type":"cvss","source":"nvd","date":"2026-11-05T18:57:35.137Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-11-05T18:56:46.299Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00374,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T08:03:29.184Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T08:03:29.748Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T08:03:29.946Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T08:01:00.622Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T08:03:27.537Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T08:03:26.585Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T08:33:24.364Z","stale":false,"partial":false}}