Skip to content
OpenAdvisories
Medium · 4.3 CVE-2026-8202 EUVD-2026-29894GHSA-p4m7-wm4c-77hf

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

Published May 13, 2026 · Updated May 13, 2026 · Assigned by mongodb

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

VendorProductAffectedFixed
MongoDB MongoDB Server 7.0 – < 7.0.34, 8.0 – < 8.0.23, 8.2 – < 8.2.9, 8.3 – < 8.3.2 7.0.34

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS mongodb No fix yet —
Ubuntu Pro 18.04 LTS mongodb No fix yet —
Ubuntu Pro 16.04 LTS mongodb No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS mongodb No fix yet —

Advisories 1

References