Skip to content

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

MediumCVSS 5.3 EPSS 0.45%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
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, 8.0.23, 8.2.9, 8.3.2 Fixed
mongodb/mongodb >= 7.0.0, < 7.0.34; >= 8.0.0, < 8.0.23; >= 8.2.0, < 8.2.9; >= 8.3.0, < 8.3.2 7.0.34, 8.0.23, 8.2.9, 8.3.2 Fixed

Affected products

ProductAffected versionsFixed in
MongoDB Server >= 7.0, < 7.0.34 7.0.34
MongoDB Server >= 8.0, < 8.0.23 8.0.23
MongoDB Server >= 8.2, < 8.2.9 8.2.9
MongoDB Server >= 8.3, < 8.3.2 8.3.2
mongodb/mongodb >= 7.0.0, < 7.0.34 7.0.34
mongodb/mongodb >= 8.0.0, < 8.0.23 8.0.23
mongodb/mongodb >= 8.2.0, < 8.2.9 8.2.9
mongodb/mongodb >= 8.3.0, < 8.3.2 8.3.2

References