Use-after-free in MongoDB Server - CVE-2026-18706

 

Use-after-free in MongoDB Server - CVE-2026-18706

Published: August 18, 2026


Vulnerability identifier: #VU144129
CSH Severity: Low
CVSS v4: 7.5 [CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-18706
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute unintended code or cause a denial of service.

The vulnerability exists due to use-after-free in the $graphLookup aggregation stage when processing aggregation and memory-management commands. A remote privileged user can issue crafted aggregation and memory-management commands to execute unintended code or cause a denial of service.


Affected software

MongoDB Server

How to mitigate CVE-2026-18706

Install security update from vendor's website.

MongoDB Server - update to 8.3.8

External References

Related Security Bulletins