CVE-2026-13072

MongoDB Improper Input Validation in Compute Mode External Data Processing Leading to Memory Corruption

Published Jul 22, 2026 CVSS 4.0 · 9.2 Critical EPSS < 1% KEV · Not listed
Description
When compute mode is enabled on a standalone mongod instance, insufficient validation of externally sourced BSON data during aggregation pipeline processing can result in memory corruption, potentially leading to process termination or other unintended behavior. This configuration is non-default and requires explicit enablement at startup.

Analysis

AI-generated

Technical impact

Standalone mongod instances with compute mode enabled are vulnerable because externally supplied BSON data in aggregation pipelines is not properly validated, allowing memory corruption. This flaw can lead to the mongod process crashing or behaving unpredictably, exposing the system to denial‑of‑service conditions. The weakness is a classic out‑of‑bounds write reflected in CWE‑122.

Affected Systems

The vulnerability applies to MongoDB Server running in standalone mode when compute mode is explicitly enabled at startup. No specific version numbers are listed in the advisory, so any release configured in this manner is potentially affected.

Risk and Exploitability

The CVSS score of 9.2 indicates high severity. EPSS score of < 1%, indicating a very low likelihood of exploitation, and the issue is not listed in CISA KEV, so current exploitation data is unknown. The likely attack vector is remote, as an attacker would need to submit malicious BSON data via an aggregation pipeline to a mongod instance that has compute mode enabled. If such access is possible, the attacker could trigger memory corruption and cause a denial of service or other unintended behavior.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Disable compute mode in the mongod configuration unless it is strictly required for your workload
  • Apply any vendor‑issued patch or upgrade to a MongoDB Server version that addresses the aggregation pipeline validation flaw
  • Monitor mongod logs for abnormal terminations or crashes and restrict network access to trusted clients to limit exposure to malicious BSON input

Generated by OpenCVE AI on August 3, 2026 at 23:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
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
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Mongodb
Mongodb mongodb Server
Vendors & Products Mongodb
Mongodb mongodb Server
Type Values Removed Values Added
Description When compute mode is enabled on a standalone mongod instance, insufficient validation of externally sourced BSON data during aggregation pipeline processing can result in memory corruption, potentially leading to process termination or other unintended behavior. This configuration is non-default and requires explicit enablement at startup.
Title MongoDB Improper Input Validation in Compute Mode External Data Processing Leading to Memory Corruption
Weaknesses CWE-122
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 9.2, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow

Sources

Status
PUBLISHED
Assigner
mongodb
Published
Updated
Jul 24, 2026, 3:56 AM
Reserved
Jun 23, 2026, 6:00 PM
Status
Analyzed
Published
Jul 22, 2026, 8:16 PM
Modified
Oct 24, 2026, 1:10 PM