CVE-2026-8202: CWE-770: Allocation of Resources Without Limits or Throttling in MongoDB, Inc. MongoDB Server
Using a densely populated chars mask and a large input string in the MongoDB aggregation operators $trim, $ltrim, and $rtrim, an authenticated user with aggregation permissions can pin CPU utilization at 100% for an extended period of time. This issue impacts MongoDB Server v7.0 versions prior to 7.0.34, v8.0 versions prior to 8.0.23, v8.2 versions prior to 8.2.9 and v8.3 versions prior to 8.3.2.
AI Analysis
Technical Summary
This vulnerability (CVE-2026-8202) involves the MongoDB aggregation operators $trim, $ltrim, and $rtrim. When an authenticated user with aggregation permissions uses a densely populated character mask combined with a large input string, it can cause the MongoDB server to consume excessive CPU resources, effectively causing a denial of service through resource exhaustion. The issue affects MongoDB Server versions 7.0 prior to 7.0.34, 8.0 prior to 8.0.23, 8.2 prior to 8.2.9, and 8.3 prior to 8.3.2. The vulnerability is categorized under CWE-770, which relates to allocation of resources without limits or throttling. The CVSS 4.0 vector indicates network attack vector, low attack complexity, low privileges required, no user interaction, and low impact on confidentiality, integrity, and availability except for limited availability impact due to resource exhaustion.
Potential Impact
An authenticated user with aggregation permissions can cause sustained 100% CPU utilization on the MongoDB server by exploiting this vulnerability. This can degrade server performance and availability, potentially impacting legitimate database operations. The impact is limited to resource exhaustion without direct compromise of data confidentiality or integrity. There are no known active exploits in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, consider limiting aggregation permissions to trusted users only and monitor server performance for unusual CPU usage patterns related to aggregation queries involving $trim, $ltrim, and $rtrim operators. Avoid processing large input strings with densely populated character masks in these operators where possible.
CVE-2026-8202: CWE-770: Allocation of Resources Without Limits or Throttling in MongoDB, Inc. MongoDB Server
Description
Using a densely populated chars mask and a large input string in the MongoDB aggregation operators $trim, $ltrim, and $rtrim, an authenticated user with aggregation permissions can pin CPU utilization at 100% for an extended period of time. This issue impacts MongoDB Server v7.0 versions prior to 7.0.34, v8.0 versions prior to 8.0.23, v8.2 versions prior to 8.2.9 and v8.3 versions prior to 8.3.2.
CVSS v4.0
Score 5.3medium
Affected software
pkg:github/mongodb/mongodb-serverRun 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-8202) involves the MongoDB aggregation operators $trim, $ltrim, and $rtrim. When an authenticated user with aggregation permissions uses a densely populated character mask combined with a large input string, it can cause the MongoDB server to consume excessive CPU resources, effectively causing a denial of service through resource exhaustion. The issue affects MongoDB Server versions 7.0 prior to 7.0.34, 8.0 prior to 8.0.23, 8.2 prior to 8.2.9, and 8.3 prior to 8.3.2. The vulnerability is categorized under CWE-770, which relates to allocation of resources without limits or throttling. The CVSS 4.0 vector indicates network attack vector, low attack complexity, low privileges required, no user interaction, and low impact on confidentiality, integrity, and availability except for limited availability impact due to resource exhaustion.
Potential Impact
An authenticated user with aggregation permissions can cause sustained 100% CPU utilization on the MongoDB server by exploiting this vulnerability. This can degrade server performance and availability, potentially impacting legitimate database operations. The impact is limited to resource exhaustion without direct compromise of data confidentiality or integrity. There are no known active exploits in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, consider limiting aggregation permissions to trusted users only and monitor server performance for unusual CPU usage patterns related to aggregation queries involving $trim, $ltrim, and $rtrim operators. Avoid processing large input strings with densely populated character masks in these operators where possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mongodb
- Date Reserved
- 2026-05-08T23:43:11.551Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a03d218cbff5d86103c3d86
Added to database: 05/13/2026, 01:21:28 UTC
Last enriched: 05/13/2026, 01:36:21 UTC
Last updated: 07/31/2026, 19:23:00 UTC
Views: 72
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.