CVE-2026-120818: Use-After-Free in MongoDB Server JavaScript Support for Aggregation Leads to Information Disclosure
CVE-2026-120818 affects 37 listed versions of MongoDB in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
MongoDB
37 of 250 listed versions are affected. Fixed in 8.3.16, 8.0.37, 7.0.48. The newest release, 9.0.8, is not affected.
8.3.13 8.3.11 8.3.9 8.3.8 8.3.7 8.3.4 8.3.3 8.3.2 8.3.1 8.3.0 8.0.34 8.0.32 8.0.30 8.0.29 8.0.28 8.0.26 8.0.25 8.0.24 8.0.23 8.0.21 8.0.20 8.0.19 8.0.18 7.0.45 7.0.43 7.0.41 7.0.40 7.0.39 7.0.37 7.0.36 7.0.35 7.0.34 7.0.32 7.0.31 7.0.30 7.0.29 7.0.28
What it is
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.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L (Mongodb)
Published by Mongodb on 10 November 2026. Last changed 13 November 2026.
Sources
Check one version you run: look CVE-2026-120818 up, or pick a product and version in the quick lookup.
Updated 1 December 2026.