MongoDB patches unauthenticated use-after-free in replica sets (CVE-2026-118383)
CVSS 9.5 flaw can crash a replica-set member or, MongoDB says, run code; Datadog reproduced only the crash.
Use-after-free in MongoDB Server replica set catch-up
A use-after-free in MongoDB Server's replication component can occur when a newly elected replica set primary completes catch-up. Unauthenticated network requests can trigger it. The server may terminate, or under certain conditions an attacker may run arbitrary code as the server process. Replica set members are affected, including shard and config server members of sharded clusters; standalone mongod instances are not.
What to do: Apply MongoDB's update for CVE-2026-118383.
| Product | Affected |
|---|---|
| MongoDB Server | — |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
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.
CVSS 9.5 flaw can crash a replica-set member or, MongoDB says, run code; Datadog reproduced only the crash.
Datadog crashed 8.0.34 after forced failover; patched 8.0.37 rejected the requests, and code execution was not shown.
Unauthenticated pings plant waiters that crash a replica only if it later wins an election while behind; MongoDB reports no known attacks.
Datadog crashed Server 8.0.34 with two unauthenticated pings; MongoDB reports no known attacks and ships fixes on seven branches.
Today 29 readers · 29 views · 3 reads · all time 215K views