Skip to content
NewA calmer, faster ZeroHour

CVE-2026-118383 use-after-free can crash MongoDB replica set primaries

Original title: CVE-2026-118383: Use-after-free vulnerability in MongoDB

Datadog Security Labsby @datadoghq ()6 min read1
AI summary · x-ai/grok-4.7Summaries by Vani AI

Datadog crashed Server 8.0.34 with two unauthenticated pings; MongoDB reports no known attacks and ships fixes on seven branches.

MongoDB disclosed CVE-2026-118383 on November 10, a critical use-after-free (CVSS v4.0 9.5) in replica set primary catch-up that can terminate the server or, under some conditions, run arbitrary code. Standalone mongod is unaffected; shard and config server replica members are in scope. Datadog reproduced a segmentation fault on 8.0.34 after two unauthenticated ping requests planted waiters, then a later election completed catch-up. Authentication does not block those pings. MongoDB said it found the bug internally and knew of no exploitation.

Unconfirmed: MongoDB reported no known exploitation; Datadog showed a crash, not code execution.

Key facts
  • First fixed releases are 9.0.7, 8.3.16, 8.0.37, 7.0.48, 6.0.30, 5.0.35, and 4.4.32.
  • The attacker cannot force replication lag or the election that triggers the crash.
  • Patched 8.0.37 rejected the same unauthenticated waiter requests as Unauthorized.
  • Atlas clusters are upgraded automatically unless customers defer maintenance.
  • Datadog's lab crash left the test cluster without a primary.
Security assessment · AI, from the articlePublic proof of concept

Impact: server crash or possible arbitrary code execution

ProductAffectedFixed in
MongoDB Server—9.0.7, 8.3.16, 8.0.37, 7.0.48, 6.0.30, 5.0.35, 4.4.32
What to do
  1. 1.Upgrade every affected replica set member to the fixed release for its branch.
  2. 2.Restrict network access to MongoDB until the upgrade is complete.
  3. 3.Verify the running version on every member, including containers and offline nodes.
Analyze CVE-2026-118383 with Vani AIImpact, affected versions, exploitation, mitigations and detection

Vulnerabilities mentioned

All
CVEVulnerabilityCVSSEPSSSignalsPublished
CVE-2026-118383
Use-after-free in MongoDB Server replica set catch-up
9.5—

From the original article

6 min read at securitylabs.datadoghq.com

We reproduced CVE-2026-118383, a critical use-after-free in MongoDB Server's primary catch-up process that unauthenticated clients can set up, and explain how to detect and remediate it.

Datadog Security Labs

By @datadoghq · securitylabs.datadoghq.com

Read the full article at Datadog Security Labs

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.