CVE-2026-118383: Pre-authentication use-after-free in MongoDB Server replica set primary catch-up
Critical 9.5 EPSS 0.7% MongoDB Server
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.
- CVE-2026-118383CVE identifier
- 9.5CVSS 4.0 base score (critical)
- 0.7%EPSS: chance of exploitation in the next 30 days (higher than 54% of CVEs)
- 2026-11-10published
What do these terms mean? CVE · CVSS score · exploited (KEV) · EPSS · backported fix · all terms
What to do now
- Check whether you run MongoDB Server and which version (commands below).
- Install the fixed version for your system: see “Patch it” below.
- sudo systemctl restart mongod
Affected and fixed versions
Affected:
- MongoDB MongoDB Server 9.0.0 to before 9.0.7
- MongoDB MongoDB Server 8.3.0 to before 8.3.16
- MongoDB MongoDB Server 8.0.0 to before 8.0.37
- MongoDB MongoDB Server 7.0.0 to before 7.0.48
- MongoDB MongoDB Server 6.0.0 to before 6.0.30
- MongoDB MongoDB Server 5.0.0 to before 5.0.35
- MongoDB MongoDB Server 4.4.0 to before 4.4.32
Patch it
Use the commands for your system. Distribution packages often keep an older version number with the fix backported, so compare with the fixed package versions in the table below, not only with the upstream version.
Debian
not in distro repos: repo.mongodb.org, mongodb-org-serverUbuntu
not in distro repos: repo.mongodb.org, mongodb-org-serverRHEL, AlmaLinux, Rocky, Oracle
not in distro repos: repo.mongodb.org, mongodb-org-serverFedora
not packagedSUSE / openSUSE
not in distro repos: repo.mongodb.org, mongodb-org-serverAmazon Linux
not in distro repos: repo.mongodb.org, mongodb-org-serverArch Linux
not in official reposAlpine
not packagedFreeBSD
pkg update && pkg upgrade mongodb80 (mongodbNN)General update steps for every system are on the Linux and Unix & BSD pages; after updating, see which services to restart.
Sources
- https://jira.mongodb.org/browse/SERVER-138119
- https://jira.mongodb.org/browse/SERVER-138175
- CVE-2026-118383 on CVE.org
- CVE-2026-118383 on NVD
Page generated automatically from official sources on 2026-11-13 23:20 UTC. Always confirm with your vendor's advisory.