Skip to main content
← All vulnerabilities
CVE-2025-6706

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.0.21, 7.0.17, 8.0.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • MongoDB Inc MongoDB Server

    From 6.0 · fixed in 6.0.21; From 7.0 · fixed in 7.0.17; From 8.0 · fixed in 8.0.4

References 1

jira.mongodb.org