Description
An authenticated user with read access can cause the mongod process to be terminated through certain aggregation expressions that execute server-side JavaScript. The issue involves improper memory handling during document processing.
Published: 2026-07-22
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Authentication with read access can trigger the mongod process to terminate when certain aggregation expressions that execute server‑side JavaScript are run. The flaw is caused by improper memory handling during document processing, leading to a memory safety issue (CWE‑416).

Affected Systems

MongoDB Server is affected. This vulnerability applies to any version of the server that includes the aggregation framework with server‑side JavaScript support for authenticated read users; no specific version numbers are listed.

Risk and Exploitability

The CVSS score of 7.1 indicates a medium to high severity. The EPSS score of less than 1% points to a very low probability of exploitation. This vulnerability is not listed in CISA KEV. An attacker who has authenticated read access can craft aggregation pipelines that trigger the memory handling flaw, causing the mongod process to crash and resulting in a denial of service. No publicly documented exploit is known, but the impact is significant if the attacker can execute the required aggregation expressions.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest MongoDB Server patch that resolves the memory handling flaw in server‑side JavaScript aggregation expressions.
  • Restrict or disable server‑side JavaScript execution in aggregation pipelines for users with read access, if the feature is not required.
  • Implement process supervision or configure a process manager to automatically restart mongod if it crashes to maintain service availability.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 24 Jul 2026 07:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 23 Jul 2026 06:15:00 +0000

Type Values Removed Values Added
First Time appeared Mongodb
Mongodb mongodb Server
Vendors & Products Mongodb
Mongodb mongodb Server

Wed, 22 Jul 2026 20:00:00 +0000

Type Values Removed Values Added
Description An authenticated user with read access can cause the mongod process to be terminated through certain aggregation expressions that execute server-side JavaScript. The issue involves improper memory handling during document processing.
Title Server-Side JavaScript Aggregation Expression Memory Safety Issue Leading to Process Termination
Weaknesses CWE-416
References
Metrics cvssV3_1

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

cvssV4_0

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


Subscriptions

Mongodb Mongodb Server
cve-icon MITRE

Status: PUBLISHED

Assigner: mongodb

Published:

Updated: 2026-07-23T14:21:17.900Z

Reserved: 2026-06-23T18:00:15.210Z

Link: CVE-2026-13071

cve-icon Vulnrichment

Updated: 2026-07-23T14:21:15.256Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-07-22T20:16:45.580

Modified: 2026-07-23T15:33:09.233

Link: CVE-2026-13071

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T23:30:17Z

Weaknesses