MongoDB SBE Engine Vulnerability in Time-Series Collections
CVE-2026-120809
What is CVE-2026-120809?
A vulnerability exists in MongoDB's Slot-Based Execution (SBE) engine that affects the processing of aggregation pipelines containing the $unwind operation for time-series collections. This flaw arises from a use-after-free read issue that occurs due to a failure in the state-preservation logic, which can lead to premature memory deallocation. If exploited, authenticated users may construct a specific aggregation pipeline that triggers this flaw, allowing access to recycled server heap memory in query results or potentially causing server crashes. It is important to note that this vulnerability only manifests when a non-default server parameter related to the SBE engine is enabled.
Affected Version(s)
MongoDB Server 9.0.0 < 9.0.7
MongoDB Server 8.3.0 < 8.3.16
MongoDB Server 8.0.0 < 8.0.37