Critical Pre-Auth MongoDB Flaw (CVE-2026-118383) Can Crash Lagging Servers on Failover
AdvisoryMongoDB ServerMongoDB AtlasOur summary
MongoDB has shipped fixes for a severe pre-authentication vulnerability, tracked as CVE-2026-118383, that lets an attacker send just two unauthenticated requests to crash a replica-set member if that member later wins an election while behind on replication. Rated 9.5 on CVSS 4.0, the bug is a use-after-free triggered when the catch-up cleanup process runs twice after a lagging node becomes primary, affecting mongod instances in replica sets as well as shard and config servers in sharded clusters, while standalone mongod deployments are untouched. Datadog Security Labs reproduced the crash in testing and detailed how planted "waiters" from ping commands using readConcern.afterOpTime stay dormant until a failover occurs, potentially leaving a cluster without a primary; MongoDB says it discovered the issue internally with no known exploitation so far, though the company warns the flaw could theoretically enable code execution. Atlas customers get the patch automatically, but self-managed users—including those on the already end-of-life 8.2 branch, which a public PoC shows remains vulnerable—should upgrade every affected member immediately and restrict network access in the meantime.
The Hacker News publishes this story on its own site; we link to it rather than reprint it.
Worried this affects your company?
Discuss a security assessment of your internet-facing systems. Scope agreed before testing.