Skip to content

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

HighCVSS 7.1 EPSS 0.40%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
MongoDB Server >= 7.0.0, < 7.0.48; >= 8.0.0, < 8.0.37; >= 8.3.0, < 8.3.16 7.0.48, 8.0.37, 8.3.16 Fixed

Affected products

ProductAffected versionsFixed in
MongoDB Server >= 8.3.0, < 8.3.16 8.3.16
MongoDB Server >= 8.0.0, < 8.0.37 8.0.37
MongoDB Server >= 7.0.0, < 7.0.48 7.0.48

References