CVE-2026-8202 PUBLISHED

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

Assigner: mongodb
Reserved: 08.05.2026 Published: 13.05.2026 Updated: 13.05.2026

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 Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
CVSS Score: 5.3

Product Status

Vendor MongoDB, Inc.
Product MongoDB Server
Versions Default: unaffected
  • affected from 7.0 to 7.0.34 (excl.)
  • affected from 8.0 to 8.0.23 (excl.)
  • affected from 8.2 to 8.2.9 (excl.)
  • affected from 8.3 to 8.3.2 (excl.)

References

Problem Types

  • CWE-770: Allocation of Resources Without Limits or Throttling CWE