IT SBIT Services
Schneeberger
DEEN
CVE tracker

MongoDB Server: Use-after-free in aggregation sub-pipelines

CVE-2026-120821High 7.1

← All vulnerabilities

Summary

A use-after-free vulnerability in the aggregation framework of MongoDB Server can occur when certain expressions are evaluated in an aggregation sub-pipeline. An authenticated user with read privileges can trigger it, and the server may terminate unexpectedly. According to the CVSS vector, the impact is limited to availability; confidentiality and integrity are not affected.

Affected

  • MongoDB Server 9.0.0 to before 9.0.7
  • Other branches (8.x, 7.x and older): Unknown.

Fixed in

  • Fixed in MongoDB Server 9.0.7.

Workaround

  • No vendor workaround known.
  • An unofficial suggestion is to restrict access to trusted users and monitor for unexpected server terminations while patching is pending.

Exploitation

  • No evidence of exploitation in the wild found; CISA KEV status not verified.
  • No public proof of concept found.

Our recommendation

  • Upgrade MongoDB Server to 9.0.7 or later, as part of the broader security release.
  • Until patched, review accounts with read privileges and restrict network access to MongoDB, especially from untrusted networks.
  • Check whether other MongoDB branches are in use and verify their status in the MongoDB advisory.
  • Monitor logs for unexpected server restarts.

Public exploits

PoC-in-GitHub, Metasploit and Exploit-DB list nothing for this CVE.

Research sources

Researched and written up in English and German by an AI (Claude by Anthropic) based on NVD, CISA, EPSS and the sources listed. The vendor information is authoritative. Researched on 11 Nov 2026, 07:05.

Original description (NVD)

A use-after-free in the aggregation framework of MongoDB Server can occur when certain expressions are evaluated in an aggregation sub-pipeline. The condition can be caused by an authenticated user with read privileges, and may result in the server terminating unexpectedly.

NVD references (1)

Sources

The tracker combines official, freely usable data sources – updated continuously:

This product uses data from the NVD API but is not endorsed or certified by the NVD. EPSS data © FIRST.org.

Affected? We can help.

We check whether your systems are affected, install updates and close the gap – continuously with the System Health Checker if you wish.