PoC Monitor
← All CVEs
CVE-2025-6706published 26 Jun 2025 14:00 UTCData: JSON · API

MongoDB Inc MongoDB Server

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

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.8high · scored by NVD · CWE-416
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

MongoDB Inc MongoDB Server
  • >= 6.0, < 6.0.21
  • >= 7.0, < 7.0.17
  • >= 8.0, < 8.0.4

Fixed in 6.0.21, 7.0.17, 8.0.4

Mitigation

Upgrade MongoDB Server to 6.0.21 or 7.0.17 or 8.0.4 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published26 Jun 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.