CVE-2026-118383 — MongoDB Server
CRITICALCVE-2026-118383 is a critical-severity (CVSS 9) Use After Free vulnerability in MongoDB MongoDB Server. A fix is available — see the affected versions and patch details below.
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…
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
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 ServerMongoDBDetection & mitigation playbook
Vendor / applianceDetect
Inventory every MongoDB MongoDB Server deployment and check each version against the affected-products list above.
Fix
Apply the MongoDB MongoDB Server security patch or hotfix for CVE-2026-118383 on the affected version, following the vendor advisory for your exact build.
Workarounds
Constrain what reaches the vulnerable code: limit the size and shape of untrusted input, isolate the affected component in a sandboxed or least-privileged process, and enable the platform's memory-safety mitigations (ASLR, stack protector, hardened allocator) so an out-of-bounds access is more likely to fail closed than to be exploitable. Alongside that, restrict the management interface to trusted networks and apply the vendor's recommended configuration mitigations.
Frequently Asked Questions
Is CVE-2026-118383 being exploited in your environment?
Detect and block the exploit chain at execution, on systems you cannot patch yet.