5.0medium
Running certain aggregation operations with the SBE engine may lead to unexpected behavior on MongoDB Server
- Severity
- 5.0medium CVSS:3.1 by mongodb
- Exploit likelihood
- 0.28% (higher than 21% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mongodb
- Also known as
- BIT-MONGODB-2025-6706
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| MongoDB Inc MongoDB Server | from 6.0 before 6.0.21, from 7.0 before 7.0.17, from 8.0 before 8.0.4 | CVE List |
| mongodb mongodb | from 6.0.0 before 6.0.21, from 7.0.0 before 7.0.17, from 8.0.0 before 8.0.4 | NVD |
| mongodb (Bitnami) | from 6.0.0 before 6.0.21, from 7.0.0 before 7.0.17, from 8.0.0 before 8.0.4 | Bitnami Vulnerability Database |
All scores
| mongodb | 5.0medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Un usuario autenticado puede activar un use after free que puede provocar un bloqueo de MongoDB Server y otros comportamientos inesperados, incluso si el usuario no tiene autorización para apagar un servidor. El bloqueo se activa en las versiones afectadas al ejecutar una operación del framework de agregación mediante una combinación específica de expresiones de canalización de agregación poco utilizadas. Este problema afecta a MongoDB Server v6.0 anterior a la 6.0.21, MongoDB Server v7.0 anterior a la 7.0.17 y MongoDB Server v8.0 anterior a la 8.0.4 cuando el motor SBE está habilitado.
References
| https://jira.mongodb.org/browse/SERVER-106746 | advisory, issue-tracking, vendor-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-6706 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-6706 changed 2025-06-26 | CVE Terms of Use |
| NVD | CVE-2025-6706 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-MONGODB-2025-6706 changed 2026-09-08 | Apache-2.0 |