CVE-2026-18706
JSON

7.5high

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

Severity
7.5high CVSS:4.0 by mongodb
Exploit likelihood
0.47% (higher than 33% of CVEs)
Published
Last changed
Assigned by
mongodb
Also known as
BIT-MONGODB-2026-18706

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.

Affected

Product or packageVersionsReported by
MongoDB MongoDB Serverfrom 8.3.0 before 8.3.8CVE List
mongodb mongodbfrom 8.3.0 before 8.3.8, 9.0.0NVD
mongodb (Bitnami)from 8.3.0 before 8.3.8, from 9.0.0 before 9.0.2Bitnami Vulnerability Database

All scores

mongodb7.5high CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
mongodb6.6medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-416

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Un problema en la etapa de agregación $graphLookup del servidor MongoDB podría permitir a un usuario autenticado, capaz de emitir comandos de agregación y de gestión de memoria, causar que una referencia interna sea utilizada después de que la memoria subyacente haya sido liberada. Esto podría resultar en una caída del servidor o, potencialmente, la ejecución de código no deseado.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-18706 changed 2026-08-11CVE Terms of Use
NVDCVE-2026-18706 changed 2026-10-23Public domain
Bitnami Vulnerability DatabaseBIT-MONGODB-2026-18706 changed 2026-10-01Apache-2.0