CVE-2026-118383 PUBLISHED

Pre-authentication use-after-free in MongoDB Server replica set primary catch-up

Assigner: mongodb
Reserved: 28.10.2026 Published: 10.11.2026 Updated: 10.11.2026

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.

Metrics

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
CVSS Score: 9.5

Product Status

Vendor MongoDB
Product MongoDB Server
Versions Default: unaffected
  • affected from 9.0.0 to 9.0.7 (excl.)
  • affected from 8.3.0 to 8.3.16 (excl.)
  • affected from 8.0.0 to 8.0.37 (excl.)
  • affected from 7.0.0 to 7.0.48 (excl.)
  • affected from 6.0.0 to 6.0.30 (excl.)
  • affected from 5.0.0 to 5.0.35 (excl.)
  • affected from 4.4.0 to 4.4.32 (excl.)

References

Problem Types

  • CWE-416: Use After Free CWE