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.
{
"cna_assigner": "mongodb",
"cwe_ids": [
"CWE-843"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118510.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "3.2.3"
},
{
"fixed": "5.12.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"original_tag": "5.12.0",
"range": [
{
"fixed": "faea6c1c6e34098becd7dd24f19ebaabb824aca0"
}
],
"source": "REFERENCES_TAG"
}
]
}