BuildRiot
Sign in

BackendSource: Datadog Security Labs

Datadog reproduces conditional MongoDB replica-set crash on 8.0.34

Datadog reproduced a MongoDB 8.0.34 crash under manufactured replication lag and failover, without demonstrating code execution. Operators should verify patched versions across every replica-set member.

Datadog logo
Cover: BuildRiot

Datadog reported on November 11, 2026, that it reproduced a conditional MongoDB 8.0.34 crash involving CVE-2026-118383, without demonstrating code execution. MongoDB announced fixes on November 10, 2026. It said it discovered the flaw internally and knew of no exploitation attempts at announcement time. MongoDB’s advisory covers replica-set members, including shard and config-server members. It excludes standalone mongod instances and warns of crashes or potential arbitrary code execution. Sources: Datadog Security Labs, MongoDB, OpenCVE

Datadog said two unauthenticated ping requests carrying readConcern.afterOpTime timed out after roughly 1.5 seconds with MaxTimeMSExpired but left stale waiters. Authentication did not prevent setup. Researchers used administrative process control and authenticated writes across four members to manufacture lag and failover. The unauthenticated client could not write. The targeted member had to win an election while behind another member and finish catch-up. This triggered double cleanup, a use-after-free and a crash before writes. Sources: Datadog Security Labs

In Datadog’s controls, 8.0.34 remained writable without setup requests. Version 8.0.37 immediately rejected them as Unauthorized and survived; both completed catch-up once. The patched control tested request rejection, leaving the separate double-cleanup fix with existing waiters untested in that experiment. Datadog says MongoDB’s regression tests cover that case. Sources: Datadog Security Labs

Datadog’s roughly 40-second run is not an attack-time estimate because researchers supplied the triggering conditions. Its cluster lost its primary, but another topology might elect a replacement. Success rates elsewhere remain unestablished. MongoDB said Atlas upgrades occur during maintenance. It urged customers deferring maintenance to apply the upgrade. Sources: Datadog Security Labs, MongoDB

MongoDB lists these affected ranges, with each upper boundary excluded: 9.0.0–<9.0.7, 8.3.0–<8.3.16, 8.0.0–<8.0.37 and 7.0.0–<7.0.48. The remaining affected ranges are 6.0.0–<6.0.30, 5.0.0–<5.0.35 and 4.4.0–<4.4.32. Each upper boundary marks the branch’s first fixed release, also listed in MongoDB’s issue tracker. Sources: MongoDB

What to do

  1. Inventory every replica-set member, including shard and config-server members, and upgrade affected installations to the branch’s first fixed release or later: 9.0.7, 8.3.16, 8.0.37, 7.0.48, 6.0.30, 5.0.35 or 4.4.32.
  2. Complete patch verification by checking every member’s running version against 9.0.7, 8.3.16, 8.0.37, 7.0.48, 6.0.30, 5.0.35 or 4.4.32 for its branch, including containers and members returning from offline maintenance. Sources: Datadog Security Labs, MongoDB, OpenCVE

Why it matters

Authentication did not block Datadog’s crash setup, making patch verification important across replica sets. The demonstrated failure depended on researcher-created lag and failover; MongoDB’s code-execution warning remains undemonstrated in that experiment.

Attribution

Sources

  1. 1Datadog Security LabsCVE-2026-118383: Use-after-free vulnerability in MongoDBSource published (UTC)
  2. 2MongoDBImportant MongoDB security update available (Action Required) - November 10, 2026Source published (UTC)
  3. 3OpenCVECVE-2026-118383 - Vulnerability Details
  4. 4MongoDBAlerts
  5. 5MongoDBSERVER-138119

Read the original source for full details and context.

Report a problem

Links, dates or what you expected. Do not include passwords or private data.

More on Backend

All Backend stories

Review · Backend

Review: PostgreSQL 19, a relational database with new maintenance controls

PostgreSQL 19 adds concurrent table repacking that permits access during most of the work. The PostgreSQL Global Development Group released this version of its open-source relational database on November 19, 2026. According to the project, pg_plan_advice influences planner choices, while pg_stash_advice stores and applies guidance by query identifier. The release also adds logical replication of sequence values, get-or-create operations and JSON export.

PostgreSQL

Review · Frontend

Review: MoonBit 1.0 release candidate, a language for WebAssembly and native apps

MoonBit released its 1.0 release candidate on November 26, 2026, freezing compiler changes to bug fixes until 1.0. Its primary targets are native code and WebAssembly, with JavaScript support for browsers and interfaces. The team targets February 18, 2027, for the full release with a stable core library. The async and archive packages may still receive minor API refinements. The moon fix command can apply compiler-suggested fixes.

MoonBit

Datadog reproduces conditional MongoDB replica-set crash on 8.0.34 · BuildRiot