CVE-2026-8202

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

State
Published
Severity
5.3 Medium
Published
May 13, 2026
Updated
May 13, 2026
Reserved
May 8, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.05.3 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:Nmongodb
3.14.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:Lmongodb

Weaknesses

  • CWE-770 Allocation of Resources Without Limits or Throttling

Affected Products

ProductVersions
MongoDB ServerMongoDB, Inc.
  • 7.0 to before 7.0.34Affected
  • 8.0 to before 8.0.23Affected
  • 8.2 to before 8.2.9Affected
  • 8.3 to before 8.3.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.