Use After Free in MongoDB
CVE-2026-18706
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.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.6 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.005, 41.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- MongoDB — versions 9.0.0
- MongoDB Server — versions 8.3.0
Weakness classification (CWE)
References
- jira.mongodb.org/browse/SERVER-128551 (Issue Tracking, Vendor Advisory)