CVE-2026-13071: CWE-416: Use After Faree in MongoDB MongoDB Server
CVE-2026-13071 is a high-severity use-after-free vulnerability in MongoDB Server that allows an authenticated user with read access to cause the mongod process to terminate. This occurs through certain aggregation expressions that execute server-side JavaScript, due to improper memory handling during document processing. The vulnerability affects specific MongoDB Server versions 7.0, 8.0, 8.2.0, and 8.3.0. No official patch or remediation guidance is currently provided by the vendor.
AI Analysis
Technical Summary
This vulnerability (CVE-2026-13071) in MongoDB Server involves a use-after-free condition (CWE-416) triggered by certain aggregation expressions that execute server-side JavaScript. An authenticated user with read access can exploit this flaw to cause the mongod process to terminate unexpectedly. The root cause is improper memory handling during document processing within these aggregation operations. The CVSS 4.0 base score is 7.1, indicating high severity. Affected versions explicitly include 7.0, 8.0, 8.2.0, and 8.3.0. There is no vendor advisory or patch currently available, and no known exploits in the wild have been reported.
Potential Impact
Successful exploitation results in denial of service by terminating the mongod process. This disrupts database availability for legitimate users. The attacker must have authenticated read access to trigger the issue. There is no indication of data corruption or privilege escalation from the provided information.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict read access to trusted users only and monitor for unusual aggregation queries that execute server-side JavaScript. Avoid running untrusted aggregation expressions that could trigger this vulnerability.
CVE-2026-13071: CWE-416: Use After Faree in MongoDB MongoDB Server
Description
CVE-2026-13071 is a high-severity use-after-free vulnerability in MongoDB Server that allows an authenticated user with read access to cause the mongod process to terminate. This occurs through certain aggregation expressions that execute server-side JavaScript, due to improper memory handling during document processing. The vulnerability affects specific MongoDB Server versions 7.0, 8.0, 8.2.0, and 8.3.0. No official patch or remediation guidance is currently provided by the vendor.
CVSS v4.0
Score 7.1high
Affected software
pkg:github/mongodb/mongoRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CVE-2026-13071) in MongoDB Server involves a use-after-free condition (CWE-416) triggered by certain aggregation expressions that execute server-side JavaScript. An authenticated user with read access can exploit this flaw to cause the mongod process to terminate unexpectedly. The root cause is improper memory handling during document processing within these aggregation operations. The CVSS 4.0 base score is 7.1, indicating high severity. Affected versions explicitly include 7.0, 8.0, 8.2.0, and 8.3.0. There is no vendor advisory or patch currently available, and no known exploits in the wild have been reported.
Potential Impact
Successful exploitation results in denial of service by terminating the mongod process. This disrupts database availability for legitimate users. The attacker must have authenticated read access to trigger the issue. There is no indication of data corruption or privilege escalation from the provided information.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict read access to trusted users only and monitor for unusual aggregation queries that execute server-side JavaScript. Avoid running untrusted aggregation expressions that could trigger this vulnerability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mongodb
- Date Reserved
- 2026-06-23T18:00:15.210Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a6123209c2644c7f89b2cc9
Added to database: 07/22/2026, 20:08:00 UTC
Last enriched: 07/30/2026, 07:22:02 UTC
Last updated: 09/04/2026, 22:52:09 UTC
Views: 64
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.