Skip to content
NewA calmer, faster ZeroHour

Critical MongoDB flaw CVE-2026-118383 can crash lagging replicas on failover

Original title: Critical Pre-Auth MongoDB Flaw (CVE-2026-118383) Can Crash Lagging Servers on Failover

The Hacker News ()4 min read2
AI summary · x-ai/grok-4.7Summaries by Vani AI

Unauthenticated pings plant waiters that crash a replica only if it later wins an election while behind; MongoDB reports no known attacks.

Datadog Security Labs reproduced a use-after-free in MongoDB Server replica set members, including shard and config servers. Two unauthenticated ping commands with readConcern.afterOpTime leave waiters that crash the member if it is elected primary while still behind and then finishes catch-up. MongoDB, which found the bug, shipped fixes this week and said it is not aware of exploitation. A standalone mongod is not affected; Atlas gets fixes in maintenance, while self-managed sets must upgrade every member.

Unconfirmed: MongoDB says it is not aware of exploitation, and a GitHub claim that 8.2.12 still crashes used a test-only setting.

Key facts
  • MongoDB rated CVE-2026-118383 at 9.5 on CVSS 4.0.
  • A lab member on 8.0.34 segfaulted; 8.0.37 rejected both requests as unauthorized.
  • Researchers did not achieve code execution, though MongoDB says it may be possible.
  • A GitHub proof of concept needs a test-only setting a remote attacker cannot enable.
  • The 8.2 branch is not listed as affected and reached end of life on July 31.
Security assessment · AI, from the articlePublic proof of concept

Impact: Unauthenticated crash of a lagging replica after failover

ProductAffectedFixed in
MongoDB ServerEvery earlier release in each affected branch, including 8.0.34; standalone mongod and the 8.2 branch are not listedFixed release per affected branch; 8.0.37 confirmed in the lab
What to do
  1. 1.Upgrade every self-managed replica set member, including containers and offline members, to the fixed release.
  2. 2.Restrict database network access to required systems until members are upgraded.
  3. 3.Search logs for unauthenticated afterOpTime pings and a double catch-up exit followed by 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

4 min read at thehackernews.com

A critical flaw in MongoDB Server allows an unauthenticated attacker to send two requests that trigger a crash on the database server. The crash occurs only if that server is later chosen to take over as the main server while it still lacks some recent changes. MongoDB, the company that makes the database, released fixed versions earlier this week.

The Hacker News

thehackernews.com

Read the full article at The Hacker News

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.