6.6Medium

Mongodb Mongodb

CVE-2026-18706

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.

What this means for your business

  • It affects Mongodb. It matters if your company, or a supplier that handles your data, runs it.
  • An attacker can use it remotely, over a network, with an administrator login, and without anyone at your company clicking anything.
  • FIRST's prediction model gives it a 0.3% chance of attack attempts being seen in the next 30 days, ranking above 27% of all known flaws.

What to do

  1. 1Check whether your company or your suppliers run Mongodb, and which version. The affected versions are listed further down this page.
  2. 2If you do, apply the vendor's fix. A patch or vendor advisory has been published.

Not sure if your company is exposed?

Fastnexa’s certified penetration testers can check whether attackers could use this flaw, or others like it, against your websites, apps and network. The full test is free for our first 10 founding clients until 31 December 2026.

Scoring

CVSS
6.6 (v3.1)
Vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
CVSS v4
7.5
Weakness
CWE-416
Assigned by
cna@mongodb.com

Dates

Published
2026-08-11
Last modified
2026-09-16
Sources
NVD

Affected products

  • Mongodb Mongodb8.3.0 - 8.3.8, 9.0.0

As listed in the NVD configuration data. Not a statement about your estate.

References