---
id: CVE-2026-18706
title: >-
  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
summary: >-
  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. …
severity: medium
cvss: 6.6
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-416
vendor: mongodb
product: mongodb
affected:
  - 'mongodb >= 8.3.0, < 8.3.8'
  - mongodb = 9.0.0
patched:
  - mongodb 8.3.8
published: '2026-08-11'
updated: '2026-09-16'
sourceUpdated: '2026-09-16T15:19:25.793'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-18706'
references:
  - url: 'https://jira.mongodb.org/browse/SERVER-128551'
    label: cna@mongodb.com
tags:
  - nvd
epss: 0.00467
epssPercentile: 0.3782
ingestedAt: '2026-08-29T19:41:16.119Z'
---

## Overview

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

- `mongodb >= 8.3.0, < 8.3.8`
- `mongodb = 9.0.0`

## Remediation

Upgrade past the affected range:

- `mongodb 8.3.8`
