CVE-2026-118510
Published:October 28, 2026
Updated:November 02, 2026
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
https://github.com/mongodb/laravel-mongodb.git (GITHUB):
Affected version(s) >=5.0.0-rc1 <5.12.0Fix Suggestion:
Update to version 5.12.0jenssegers/mongodb (PHP):
Affected version(s) >=5.0.0-rc1 <5.12.0Fix Suggestion:
Update to version 5.12.0mongodb/laravel-mongodb (PHP):
Affected version(s) =4.0.0-rc1 <5.12.0Fix Suggestion:
Update to version 5.12.0Related Resources (2)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Access of Resource Using Incompatible Type
EPSS
Base Score:
0.28