CVE-2026-13071

published 22 Jul 2026 · updated 23 Jul 2026

Server-Side JavaScript Aggregation Expression Memory Safety Issue Leading to Process Termination

6.5MediumCVSS 6.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Server 7.0.39, Server 8.0.28, Server 8.2.12 and 1 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MongoDBServer>=7.0 <7.0.39, >=8.0 <8.0.28, >=8.2.0 <8.2.12, >=8.3.0 <8.3.77.0.39, 8.0.28, 8.2.12, 8.3.7

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in MongoDB, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-13071 severity on Zeptric[![CVE-2026-13071](https://zeptric.io/badge/cve/CVE-2026-13071.svg)](https://zeptric.io/cve/CVE-2026-13071)