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

High 7.1 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2026-120818?

CVE-2026-120818 is a high-severity vulnerability in MongoDB Server, published on 10 Nov 2026.

Official 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.

Weakness: CWE-416

Which versions are affected by CVE-2026-120818?

How do I fix CVE-2026-120818?

No fix has been published for CVE-2026-120818 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-120818 being exploited?

There is no known exploitation of CVE-2026-120818 in the wild and no public exploit code.

Sources

Also known as GHSA-xcr7-38c4-884c.

Is CVE-2026-120818 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free