Skip to content

CVE-2025-6706 Running certain aggregation operations with the SBE engine may lead to unexpected behavior on MongoDB Server

HighCVSS 8.8 EPSS 0.55%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

An authenticated user may trigger a use after free that may result in MongoDB Server crash and other unexpected behavior, even if the user does not have authorization to shut down a server.
The crash is triggered on affected versions by issuing an aggregation framework operation using a specific combination of rarely-used aggregation pipeline expressions. This issue affects MongoDB Server v6.0 version prior to 6.0.21, MongoDB Server v7.0 version prior to 7.0.17 and MongoDB Server v8.0 version prior to 8.0.4 when the SBE engine is enabled.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
mongodb/mongodb >= 6.0, < 6.0.21; >= 6.0.0, < 6.0.21; >= 7.0, < 7.0.17; >= 7.0.0, < 7.0.17 +2 more 6.0.21, 7.0.17, 8.0.4 Fixed

Affected products

ProductAffected versionsFixed in
mongodb/mongodb >= 6.0, < 6.0.21 6.0.21
mongodb/mongodb >= 7.0, < 7.0.17 7.0.17
mongodb/mongodb >= 8.0, < 8.0.4 8.0.4
mongodb/mongodb >= 6.0.0, < 6.0.21 6.0.21
mongodb/mongodb >= 7.0.0, < 7.0.17 7.0.17
mongodb/mongodb >= 8.0.0, < 8.0.4 8.0.4

References