CVE-2026-18706

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

State
Published
Severity
7.5 High
Published
Aug 11, 2026
Updated
Aug 11, 2026
Reserved
Aug 3, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.07.5 HighCVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:Nmongodb
3.16.6 MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:Hmongodb

Weaknesses

Affected Products

ProductVersions
MongoDB ServerMongoDB
  • 8.3.0 to before 8.3.8Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.