CVE-2026-120818

published 10 Nov 2026 · updated 13 Nov 2026

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

7.1HighCVSS 7.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Server 7.0.48, Server 8.0.37 and Server 8.3.16.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MongoDBServer>=7.0.0 <7.0.48, >=8.0.0 <8.0.37, >=8.3.0 <8.3.167.0.48, 8.0.37, 8.3.16

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in MongoDB, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-120818 severity on Zeptric[![CVE-2026-120818](https://zeptric.io/badge/cve/CVE-2026-120818.svg)](https://zeptric.io/cve/CVE-2026-120818)