CVE-2026-8202

published 13 May 2026 · updated 13 May 2026

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

4.3MediumCVSS 4.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Server 7.0.34, Server 8.0.23, Server 8.2.9 and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MongoDBServer>=7.0 <7.0.34, >=8.0 <8.0.23, >=8.2 <8.2.9, >=8.3 <8.3.27.0.34, 8.0.23, 8.2.9, 8.3.2

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in MongoDB, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-8202 severity on Zeptric[![CVE-2026-8202](https://zeptric.io/badge/cve/CVE-2026-8202.svg)](https://zeptric.io/cve/CVE-2026-8202)