Exploit database

Vulnerability

CVE-2026-118383

Pre-authentication use-after-free in MongoDB Server replica set primary catch-up

Vulnerability details

Score
9.5
Severity
critical

CVSS 4.0 · mongodb

Vector string

CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Description

A use-after-free in the replication component of MongoDB Server can occur when a newly elected replica set primary completes catch-up. The condition can be caused by requests that do not require authentication, and may result in the server terminating unexpectedly or, under certain conditions, arbitrary code execution in the context of the server process. Replica set members are affected, including the shard and config server replica set members of sharded clusters; standalone mongod instances are not.

CVE Program

Exploit source choices

1 source
googlesky/cve-2026-118383
GH-8f3f66aa36383c2a3a7f550ff9a824a1GitHubUnofficial GitHub sourcePreferred

PoC for CVE-2026-118383 — MongoDB unauthenticated use-after-free in ReplicationCoordinatorImpl::CatchupState during primary catch-up via readConcern.afterOpTime waiter poisoning, with deterministic crash oracle and fixed-version control.

2026-11-1126 files · 5 stars