CVE-2026-118383
A use-after-free in the replication component of MongoDB Server can occur when a newly elected replica set primary completes catch-up.
- Severity: Critical
- CVSS 9.5
- EPSS 0.71%
- Public exploit
- P2 · This week
Why P2: this week.
Description
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 products
- mongodb >= 4.4.0, < 4.4.32
- mongodb >= 5.0.0, < 5.0.35
- mongodb >= 6.0.0, < 6.0.30
- mongodb >= 7.0.0, < 7.0.48
- mongodb >= 8.0.0, < 8.0.37
- mongodb >= 8.3.0, < 8.3.16
- mongodb >= 9.0.0, < 9.0.7
Weakness
CVSS vector
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
References
- NVD record NVD
- CVE Program record CVE Program
- Reference NVD
- Reference NVD
- GitHub security advisory GitHub