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.
Metrics
CVSS 3.1 6.5/10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| MongoDB, Inc. | MongoDB Server | >= 7.0, < 7.0.34; >= 8.0, < 8.0.23; >= 8.2, < 8.2.9; >= 8.3, < 8.3.2 |
References
- https://jira.mongodb.org/browse/SERVER-120668Issue Tracking, Vendor Advisory
Timeline
- Published
- May 13, 2026
- Last modified
- Oct 26, 2026
- NVD status
- Analyzed