A use-after-free in the replication component of MongoDB Server can occur when a newly elected replica set primary completes catch-up. The condition can be caused by requests that do not require authentication, and may result in the server terminating unexpectedly or, under certain conditions, arbitrary code execution in the context of the server process. Replica set members are affected, including the shard and config server replica set members of sharded clusters; standalone mongod instances are not.
CVE-2026-118383
CVSS base score
9.0 (v3.1)
Severity
CRITICAL
Attack vector
Network
Weakness
CWE-416
Last modified
November 13, 2026
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Affected products
mongodb mongodb
References
- jira.mongodb.org Issue Tracking, Patch, Vendor Advisory
- jira.mongodb.org Issue Tracking, Patch, Vendor Advisory