CVE-2026-118383

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

Published Nov 10, 2026 CVSS 4.0 · 9.5 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability is a use‑after‑free in the replication component of MongoDB Server that can be triggered when a replica set member is elected primary and completes catch‑up. The flaw is exposed through operations that do not require authentication and can cause the server to terminate unexpectedly. In particular circumstances the memory misuse can lead to arbitrary code execution within the server process.

Affected Systems

Affected systems are MongoDB Server instances that belong to a replica set, including shard servers and config servers in sharded clusters. Stand‑alone mongod instances are not impacted. All documented vendor products are listed under the MongoDB:MongoDB Server metadata.

Risk and Exploitability

The CVSS score of 9.5 indicates a critical severity level and the EPSS score of less than 1% reflects a small likelihood of exploitation in the recent period. However, because the flaw can be triggered without authentication and would execute with the identity of the mongod process, it poses a high risk to any environment that allows unauthenticated or low‑privilege clients to contact replica set nodes. The flaw is not currently in the CISA KEV catalog, so no known active exploits are publicly documented, but the potential impact warrants immediate remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade MongoDB Server to the latest patched release that addresses this flaw.
  • Restart MongoDB services so the update takes effect.
  • Restrict replica set communication to trusted internal networks and block external access to the replication endpoints.
  • Enable authentication on all MongoDB instances to require credentials for replication traffic.

Generated by OpenCVE AI on November 13, 2026 at 07:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Mongodb mongodb
CPEs cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*
Vendors & Products Mongodb mongodb
Type Values Removed Values Added
First Time appeared Mongodb
Mongodb mongodb Server
Vendors & Products Mongodb
Mongodb mongodb Server
Type Values Removed Values Added
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.
Title Pre-authentication use-after-free in MongoDB Server replica set primary catch-up
Weaknesses CWE-416
References
Metrics cvssV3_1

{'score': 9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.5, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mongodb
Published
Updated
Nov 13, 2026, 2:20 PM
Reserved
Oct 28, 2026, 2:46 AM
Status
Analyzed
Published
Nov 10, 2026, 9:18 PM
Modified
Nov 13, 2026, 3:56 PM