NetSight
high8.7

CVE-2026-120824

A use-after-free in the time-series collection component of MongoDB Server can occur when the server validates a time-series bucket document during a write.

Impact

A use-after-free in the time-series collection component of MongoDB Server can occur when the server validates a time-series bucket document during a write. The condition can be caused by an authenticated user with privileges to write bucket documents directly, and may result in the server terminating unexpectedly or, under certain conditions, arbitrary code execution in the context of the server process.

An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.

Affected products

VendorProductAffected versions
MongoDBMongoDB Server
from 9.0.0 before 9.0.7
from 8.3.0 before 8.3.16
from 8.0.0 before 8.0.37
from 7.0.0 before 7.0.48
MongoDB, Inc.MongoDB Server
from 8.0.0 before 8.0.37
from 8.3.0 before 8.3.16
from 7.0.0 before 7.0.48
from 9.0.0 before 9.0.7

Weakness classification

References