Vulnerability · Published May 13, 2026 · Assigned by mongodb

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

Medium 4.3

In plain English

A medium-severity resource allocation without limits in MongoDB Server from MongoDB, Inc.. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 18% of all known vulnerabilities).

Severity (CVSS 3.1)4.3Medium
Exploit odds (30 days)0.3%top 81.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 (as reported)

VendorProductVersions
MongoDB, Inc. MongoDB Server 7.0 – before 7.0.348.0 – before 8.0.238.2 – before 8.2.98.3 – before 8.3.2

Weakness: CWE-770 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

References