CVE-2026-18706: Use-After-Free in MongoDB $graphLookup Aggregation Stage Leads to Denial of Service and Potential Remote Code Execution
CVE-2026-18706 affects 6 listed versions of MongoDB in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
MongoDB
6 of 250 listed versions are affected. Fixed in 8.3.8. The newest release, 9.0.8, is not affected.
8.3.7 8.3.4 8.3.3 8.3.2 8.3.1 8.3.0
What it is
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.
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H (Mongodb)
Published by Mongodb on 11 August 2026. Last changed 23 October 2026.
Sources
Check one version you run: look CVE-2026-18706 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.