Menu

Serious security flaw in MongoDB: How your database could collapse
📰

Serious security flaw in MongoDB: How your database could collapse

DEV Community: backend·Hacks.gr·5 days ago
#I5W2KZZ3
#devtobackend#devto#dev#server#security
Reading 0:00
15s threshold

A critical flaw in MongoDB Server (CVE-2026-118383), rated 9.5 CVSS, allows unauthenticated attackers to trigger server crashes via a use-after-free during replica set catch-up cleanup.

MongoDB released patches and notes no active exploitation.

How is collapse caused?

The issue is specific to servers that operate in clusters, where multiple servers maintain the same data for backup purposes. Normally, one of them acts as the master server and handles all new registrations, while the others follow suit. If the master server goes down, the others go through an election process to elect a new leader.

According to security researchers, the crash can occur if two special requests are sent to a server that is lagging behind in data updates. If that server is later elected to become the new group leader, completing the process causes a serious internal memory error.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.