Skip to content
CVE PROGRAM SOURCE RECORD7.1 High

CVE-2026-120818

Use-After-Free in MongoDB Server JavaScript Support for Aggregation Leads to Information Disclosure

Description

A use-after-free weakness in MongoDB Server's server-side JavaScript support for aggregation may allow a stale reference to previously freed process memory to be read and returned. An authenticated user with minimal or no assigned roles can trigger this condition over the normal network protocol by submitting a single crafted aggregation request, with no additional privileges or non-default configuration. Successful triggering this issue may result in adjacent process memory contents being returned, including data that undermines memory-layout randomization, and may in some cases affect server availability.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

MongoDB MongoDB Server

Default version status: unaffected

  • 8.3.0 to < 8.3.16affected
  • 8.0.0 to < 8.0.37affected
  • 7.0.0 to < 7.0.48affected

References