Skip to content

CVE-2025-10061 Malformed $group Query May Cause MongoDB Server to Crash

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

Description

An authorized user can cause a crash in the MongoDB Server through a specially crafted $group query. This vulnerability is related to the incorrect handling of certain accumulator functions when additional parameters are specified within the $group operation. This vulnerability could lead to denial of service if triggered repeatedly. This issue affects MongoDB Server v6.0 versions prior to 6.0.25, MongoDB Server v7.0 versions prior to 7.0.22, MongoDB Server v8.0 versions prior to 8.0.12 and MongoDB Server v8.1 versions prior to 8.1.2

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
MongoDB Server >= 6.0, < 6.0.25; >= 7.0, < 7.0.22; >= 8.0, < 8.0.12; >= 8.1, < 8.1.2 6.0.25, 7.0.22, 8.0.12, 8.1.2 Fixed
mongodb/mongodb >= 6.0.0, < 6.0.25; >= 7.0.0, < 7.0.22; >= 8.0.0, < 8.0.12; >= 8.1.0, < 8.1.2 6.0.25, 7.0.22, 8.0.12, 8.1.2 Fixed

Affected products

ProductAffected versionsFixed in
MongoDB Server >= 6.0, < 6.0.25 6.0.25
MongoDB Server >= 7.0, < 7.0.22 7.0.22
MongoDB Server >= 8.0, < 8.0.12 8.0.12
MongoDB Server >= 8.1, < 8.1.2 8.1.2
mongodb/mongodb >= 6.0.0, < 6.0.25 6.0.25
mongodb/mongodb >= 7.0.0, < 7.0.22 7.0.22
mongodb/mongodb >= 8.0.0, < 8.0.12 8.0.12
mongodb/mongodb >= 8.1.0, < 8.1.2 8.1.2

References