CVE-2026-120809NVD
Vulnerability Summary
A use-after-free read issue exists in MongoDB’s SBE (Slot-Based Execution) engine when processing aggregation pipelines with $unwind on time-series collections. An internal error in state-preservation logic can cause a value still referenced by downstream stages to have its underlying memory freed prematurely. An authenticated user can craft an aggregation pipeline under specific conditions to trigger this condition, potentially reading recycled server heap memory in query results or crashing the server. This issue is only triggerable when a non-default server parameter related to the SBE engine is enabled.
CVSS v4.0 Base Metrics — Score 6.1 (MEDIUM)
Attack VectorNetwork
Attack ComplexityLow
Attack RequirementsPresent
Privileges RequiredLow
User InteractionNone
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)None
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
CVSS v3.1 Base Metrics — Score 6.8 (MEDIUM)
Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityNone
AvailabilityHigh
Affected & Patched Versions
- MongoDB MongoDB Server >= 9.0.0 and < 9.0.7
- MongoDB MongoDB Server >= 8.3.0 and < 8.3.16
- MongoDB MongoDB Server >= 8.0.0 and < 8.0.37
- MongoDB MongoDB Server 9.0.7
- MongoDB MongoDB Server 8.3.16
- MongoDB MongoDB Server 8.0.37