Skip to page content

AEGLIX MIND

Connected intelligence.Security research, connected

AEGLIX news · Global

MongoDB Replication Flaw Lets Unauthenticated Requests Crash New Primaries in Sharded Clusters

Based on reporting from The Hacker News

Published by the source: Thu, 12 Nov 2026 14:55:00 +0530

AEGLIX News

A critical pre-authentication flaw in MongoDB Server can cause newly elected replica set primaries to crash when they finish catching up, researchers from Datadog Security Labs reported. The vulnerability affects shard and config server members of sharded clusters, while standalone mongod instances outside replica sets are not impacted. Datadog reproduced the crash in a lab using version 8.0.34, triggering a segmentation fault that left the test cluster without a primary.

The issue is tracked as CVE-2026-118383 and described in the National Vulnerability Database as a use-after-free in the replication component that occurs when a newly elected primary completes catch-up. The condition can be triggered 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 shard and config server replica set members of sharded clusters; standalone mongod instances are not.

Datadog found that two unauthenticated ping commands carrying readConcern.afterOpTime values can plant waiters that persist until the member restarts, rolls back, or steps down from primary. When catch-up ends and cleanup runs twice, it reuses memory that was already freed, causing the new primary to crash before it can accept writes. The proof-of-concept code's reliable mode requires a test-only setting that a remote attacker cannot enable, and its stated impact is a crash or memory corruption with no claim of code execution.

Until upgraded, researchers advise restricting network access to the database to only systems that need it, which limits who can send the two requests but does not fix the flaw.

Report prepared 2026-11-12 · Based on reporting from The Hacker News. Source publication date above; subsequent developments may not be reflected.

Sources

Read original source · The Hacker News (opens in a new tab)

Privacy policy

Explore the story

Consult the cited publisher for the original reporting, updates and supporting evidence. Check the publication date and source before acting on a headline.

These are research tools; no CVE, indicator, or campaign relationship is inferred from this article.

More from The Hacker News

← Back to security news