{"schema":"threatline.record/2","record":{"id":"CVE-2026-118510","aliases":[],"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.","categories":["Frameworks"],"product":"Laravel MongoDB","vendor":"MongoDB","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-118510","source_modified_at":"2026-10-28T16:15:08.426Z","fetched_at":"2026-10-28T20:58:01.013507Z","product":"Laravel MongoDB","vendor":"MongoDB","versions":[{"status":"affected","version":"3.2.3","lessThan":"5.12.0","versionType":"semver"}],"defaultStatus":"unaffected"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-118510","source_modified_at":"2026-10-28T16:15:08.426Z","fetched_at":"2026-10-28T20:58:01.013507Z","package":{"name":"Laravel MongoDB","ecosystem":null},"version":"5.12.0","basis":"first unaffected version stated in the CVE record"}],"cvss":7.7,"severity":"High","kev":{"listed":false},"epss":{"probability":null,"percentile":null,"score_date":null},"published_at":"2026-10-28T16:15:08.426Z","modified_at":"2026-10-28T16:15:08.426Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-118510","fetched_at":"2026-10-28T20:58:01.013507Z","source_modified_at":"2026-10-28T16:15:08.426Z"}],"sources":["CVE List"],"references":[{"source":"CVE List","url":"https://github.com/mongodb/laravel-mongodb/releases/tag/5.12.0"},{"source":"CVE List","url":"https://jira.mongodb.org/browse/PHPLARA-148"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"product","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-28T16:15:08.426Z","content_hash":"1ee89e8d6682b8f50808ea18d5c8e01675a70e9ae31056d1268db4ad39e872a8"}}
