Critical MongoDB Flaw CVE-2026-118383 Allows Pre-Auth Crash
MongoDB fixed a critical flaw, `CVE-2026-118383` (CVSS 9.5), that lets an unauthenticated attacker send two requests that crash a database server if it is later elected primary while still behind on replication.
⚡ Why it matters
MongoDB is among the most widely used databases. A crash during failover takes your service down at the worst possible moment.
The flaw affects members of a replica set, a group of servers that keep copies of the same data. One primary handles writes, and if it fails the others elect a replacement.
How it works
It is a use-after-free bug, where the server uses memory it has already freed. An attacker sends two unauthenticated requests. If that member is later elected primary while still missing some recent changes, it crashes, and the NVD entry says that under certain conditions it may even allow code execution in the server process. Datadog Security Labs reproduced the crash and noted that enabling authentication does not block the requests on vulnerable versions. MongoDB found the flaw itself and says it knows of no exploitation.
Who is affected
- Replica set members, including shard and config servers in sharded clusters.
- A standalone mongod outside any replica set is not affected.
- MongoDB Atlas clusters get the fix automatically during maintenance.
- The 8.2 branch is not officially listed, but a PoC on GitHub says 8.2.12 still showed the bug in a lab test. That branch reached end of life on July 31.
What to do
- Upgrade every replica set member to your branch's fixed release (for example 8.0.37 for 8.0) and confirm each member's version, including containers.
- If you defer Atlas maintenance, apply the upgrade now.
- Until patched, restrict network access to the database to systems that need it.
- Move off the end-of-life 8.2 branch.
🔗 Sources
This article is original reporting by the Security World editorial team based on the sources listed above; direct quotes are kept short and marked with quotation marks. Corrections and feedback: info [at] securitywd.net.
Related stories
Critical CVEs: Synology, SharePoint, VS Code and Routers
Here are the most important critical vulnerabilities published in the US NVD between November 9 and 15, 2026, from Synology and Microsoft to developer tools, WordPress plugins and old home routers, with what to do for each.
Claude 'Office Party' Skills Flaw Runs Code on Linux
AIR Security disclosed Office Party, a flaw in Claude's official Word, PowerPoint and Excel skills that can run malicious code on Linux once a file is planted in a shared temp folder. Anthropic has chosen not to fix it.
Windows Paint Flaw CVE-2026-83844: Update via the Store
Microsoft patched a remote code execution flaw, `CVE-2026-83844`, in Windows Paint after nearly a month of confusion over the fixed version and its Store availability. The safe version is 11.2609.401.0.