Skip to content

CVE-2026-18706 Use-After-Free in MongoDB $graphLookup Aggregation Stage Leads to Denial of Service and Potential Remote Code Execution

HighCVSS 7.5 EPSS 0.47%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
MongoDB Server >= 8.3.0, < 8.3.8 8.3.8 Fixed
mongodb/mongodb = 9.0.0-alpha0; = 9.0.0-alpha1; >= 8.3.0, < 8.3.8 8.3.8 Fixed

Affected products

ProductAffected versionsFixed in
MongoDB Server >= 8.3.0, < 8.3.8 8.3.8
mongodb/mongodb >= 8.3.0, < 8.3.8 8.3.8
mongodb/mongodb = 9.0.0-alpha0 No fix listed
mongodb/mongodb = 9.0.0-alpha1 No fix listed

References