Skip to content
CVE PROGRAM SOURCE RECORD5.3 Medium

CVE-2026-8202

Post-authentication CPU utilization DoS via $trim/$ltrim/$rtrim operators

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

MongoDB, Inc. MongoDB Server

Default version status: unaffected

  • 7.0 to < 7.0.34affected
  • 8.0 to < 8.0.23affected
  • 8.2 to < 8.2.9affected
  • 8.3 to < 8.3.2affected

References