---
title: >-
  MongoDB afterOpTime waiter planting followed by crash or double catch-up abort
  (CVE-2026-118383)
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: >-
  Docs > Datadog Security > OOTB Rules > MongoDB afterOpTime waiter planting
  followed by crash or double catch-up abort (CVE-2026-118383)
---

> For the complete documentation index, see [llms.txt](https://docs.datadoghq.com/llms.txt).

# MongoDB afterOpTime waiter planting followed by crash or double catch-up abort (CVE-2026-118383)

{% alert level="danger" %}
This rule is part of a beta feature. To learn more, [contact Support](https://docs.datadoghq.com/help/).
{% /alert %}
Classification:attackTactic:[TA0040-impact](https://attack.mitre.org/tactics/TA0040)Technique:[T1499-endpoint-denial-of-service](https://attack.mitre.org/techniques/T1499) 
## Goal{% #goal %}

Detects `afterOpTime` waiter-planting commands on a MongoDB node followed within 24 hours by a crash or a double catch-up abort. Alerts on CVE-2026-118383 exploitation.

## Strategy{% #strategy %}

This rule monitors MongoDB command logs for no-auth `ping`, `hello`, or `isMaster` commands carrying `@attr.command.readConcern.afterOpTime`, and correlates them with a fatal `SIGSEGV` (`@id:6384300` or `4757800`) or with two `Exited primary catch-up mode` lines (`@id:21363`) outnumbering `Entering primary catch-up mode` lines (`@id:21359`) on the same node. Planted waiters stay registered after the command returns and are hit when the node next runs primary catch-up, so the gap between planting and crash depends on when a failover happens. In the reproduction, the failover was staged and the gap was 90 seconds. MongoDB logs a command only when it is slower than `slowms` (100 ms by default) or when command logging is raised, so the planting stage is visible only when MongoDB logs those commands.

## Triage and response{% #triage-and-response %}

- Identify the source addresses in the planting commands on `{{host}}` and block them from reaching `mongod`.
- Pull the full `mongod` log and backtrace from `{{host}}` and confirm the `CatchupState::abort_inlock` frames.
- Check other replica set members for the same planting commands.
- Upgrade the replica set to a MongoDB version that fixes CVE-2026-118383.
