What’s Vulnerable › Vulnerabilities
CVE-2026-8202: Post-authentication CPU utilization DoS via $trim/$ltrim/$rtrim operators
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-13 · updated 2026-10-26
- Weakness: CWE-770
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.
Affected products
- MongoDB: from 7.0.0 before 7.0.34; from 8.0.0 before 8.0.23; from 8.2.0 before 8.2.9; from 8.3.0 before 8.3.2 — fixed in 7.0.34, 8.0.23, 8.2.9, 8.3.2
How to fix
Upgrade to a fixed version: MongoDB 7.0.34, 8.0.23, 8.2.9, 8.3.2. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-8202 or the next vulnerability affects your stack