CVE-2026-118383
MongoDB MongoDB Server — Pre-authentication use-after-free in MongoDB Server replica set primary catch-up
Description · from the CVE record
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.
Affected
ProductAffectedFixed inSource
MongoDB Server9.0.0 – < 9.0.79.0.7CNA
MongoDB Server8.3.0 – < 8.3.168.3.16CNA
MongoDB Server8.0.0 – < 8.0.378.0.37CNA
MongoDB Server7.0.0 – < 7.0.487.0.48CNA
MongoDB Server6.0.0 – < 6.0.306.0.30CNA
MongoDB Server5.0.0 – < 5.0.355.0.35CNA
MongoDB Server4.4.0 – < 4.4.324.4.32CNA
Scores by source
mongodb (CNA)9.5CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
mongodb (CNA)9.0CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H