Skip to content
NewA calmer, faster ZeroHour

MongoDB patches unauthenticated use-after-free in replica sets (CVE-2026-118383)

Original title: Critical MongoDB Use-After-Free Vulnerability Allows Remote Code Execution Without Authentication

GBHackersby Divya ()2 min read1
Part of a story covered by 2 sourcesMongoDB patches replica-set use-after-free that can crash serversMerged summary & timeline
AI summary · x-ai/grok-4.7Summaries by Vani AI

CVSS 9.5 flaw can crash a replica-set member or, MongoDB says, run code; Datadog reproduced only the crash.

MongoDB patched CVE-2026-118383, a use-after-free in replication catch-up that unauthenticated network attackers can trigger with ping requests carrying readConcern.afterOpTime. Replica set members, including shard and config servers, are affected; standalone mongod is not. The company found the bug internally and says it knows of no exploitation. Datadog Security Labs crashed MongoDB 8.0.34 but did not achieve code execution; 8.0.37 rejected the pings.

Unconfirmed: Remote code execution is MongoDB’s assessment; Datadog reproduced a crash but not code execution.

Key facts
  • 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.
  • Attack complexity is high because lag and a later election are required.
  • Authentication does not stop the unauthenticated ping step.
  • Atlas clusters update during maintenance; deferred maintenance should be applied.
  • Logs may show afterOpTime pings, log ID 21363, then a fatal signal.
Security assessment · AI, from the articleNo known exploitation

Impact: server crash or possible code execution in mongod

ProductAffectedFixed in
MongoDB9.0, 8.3, 8.0, 7.0, 6.0, 5.0, and 4.4 replica set members before the fixed releases9.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 replica set member, including containers and offline nodes, to the fixed branch release.
  2. 2.Until patched, restrict network access to systems that need it.
  3. 3.Review logs for unauthenticated afterOpTime pings, catch-up exit log ID 21363, and a fatal signal.
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

2 min read at gbhackers.com

MongoDB has patched a critical use-after-free flaw, tracked as CVE-2026-118383 with a CVSS score of 9. 5, that unauthenticated attackers can exploit over the network. The company found the bug internally and says it knows of no exploitation attempts so far.

GBHackers

By Divya · gbhackers.com

Read the full article at GBHackers

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.