Use-after-free in MongoDB Server - CVE-2026-120809
Published: November 16, 2026
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.