Threat Feed

CVE-2026-118383: Pre-authentication use-after-free in MongoDB Server replica set primary catch-up

Exploitation: Public exploit · CVSS 9.5 Critical · Unauthenticated · Published 2026-11-10

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.

Fix

Upgrade to 9.0.7 or 8.3.16 or 8.0.37 or 7.0.48 or 6.0.30 or 5.0.35 or 4.4.32, whichever matches your release line.

Affected versions

ProductVulnerableFixed in
MongoDB Server9.0.0 before 9.0.79.0.7
MongoDB Server8.3.0 before 8.3.168.3.16
MongoDB Server8.0.0 before 8.0.378.0.37
MongoDB Server7.0.0 before 7.0.487.0.48
MongoDB Server6.0.0 before 6.0.306.0.30
MongoDB Server5.0.0 before 5.0.355.0.35
MongoDB Server4.4.0 before 4.4.324.4.32

Seen in 4 sources