CVE-2026-18706Published Aug 11, 2026 · Aug 11Updated Oct 28
Use-After-Free in MongoDB $graphLookup Aggregation Stage Leads to Denial of Service and Potential Remote Code Execution
MongoDB Server
High7.5
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| MongoDB MongoDB Server |
| No fix yet |
Original description
An issue in MongoDB Server's $graphLookup aggregation stage could allow an authenticated user able to issue aggregation and memory-management commands to cause an internal reference to be used after the underlying memory has been freed. This could result in a server crash or, potentially, execution of unintended code.
From the CVE record · mongodb