CVE-2026-118510

    Dashboard / Vulnerabilities / CVE-2026-118510

    CVE-2026-118510

    Published: 28 Oct 2026Last Modified: 7 Nov 2026

    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.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Introduced- c0cae3e187999ea80f92cc5ab169de4baa784f2e

    Affected versions

    5.10.0

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2026-118510 | CVE-DB