CVE-2026-8202

Medium

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.

SeverityMedium
CVSS4.3
Exploit probability—
ProductMongodb
PublishedMay 13, 2026
First seenMay 13, 2026

How to fix

Update
  • mongodb mongodb7.0.34, 8.0.23, 8.2.9, 8.3.2 or later

Affected products

ProductAffected versionsFixed in
mongodb mongodb7.0.0 ≤ v < 7.0.34, 8.0.0 ≤ v < 8.0.23, 8.2.0 ≤ v < 8.2.9, 8.3.0 ≤ v < 8.3.27.0.34, 8.0.23, 8.2.9, 8.3.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-8202 · Mongodb · Dark Radar