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 package | Versions | Reported by |
|---|---|---|
| MongoDB MongoDB Server | from 8.3.0 before 8.3.8 | CVE List |
| mongodb mongodb | from 8.3.0 before 8.3.8, 9.0.0 | NVD |
| mongodb (Bitnami) | from 8.3.0 before 8.3.8, from 9.0.0 before 9.0.2 | Bitnami Vulnerability Database |
All scores
| mongodb | 7.5high CVSS:4.0 | CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| mongodb | 6.6medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H |
| Bitnami Vulnerability Database | high rating |
Classification
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
| https://jira.mongodb.org/browse/SERVER-128551 | advisory, issue-tracking, vendor-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-18706 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-18706 changed 2026-08-11 | CVE Terms of Use |
| NVD | CVE-2026-18706 changed 2026-10-23 | Public domain |
| Bitnami Vulnerability Database | BIT-MONGODB-2026-18706 changed 2026-10-01 | Apache-2.0 |