Use-after-free in MongoDB Server - CVE-2026-120809

 

Use-after-free in MongoDB Server - CVE-2026-120809

Published: November 16, 2026


Vulnerability identifier: #VU166283
CSH Severity: Low
CVSS v4: 6.8 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-120809
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote privileged user to disclose server heap memory through query results or cause a denial of service.

The vulnerability exists due to a use-after-free in the MongoDB Server SBE (Slot-Based Execution) engine when processing aggregation pipelines with $unwind on time-series collections. A remote privileged user can craft an aggregation pipeline that triggers premature freeing of memory still referenced by downstream stages during state preservation to read recycled server heap memory or crash the server.

Exploitation requires a non-default server parameter related to the SBE engine to be enabled.


Affected software

MongoDB Server

How to mitigate CVE-2026-120809

Install security update from vendor's website.

MongoDB Server - addressed in versions 8.0.37, 8.3.16, 9.0.7

External References

Related Security Bulletins