Vulnerabilities

Vulnerability · CVE-2025-6706

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

Published Jun 26, 2025 · catalog updated Jun 26, 2025 · MongoDB Inc MongoDB Server

Check this week

CVE-2025-6706 is not in CISA KEV. FIRST estimates a 26.00% chance of exploitation in the next 30 days. Check whether you run MongoDB Inc MongoDB Server.

Gaps on this record

  • No vendor fix or required action is stored. Compare the linked advisory before you change production.
Severity
Medium5.0
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
26.00%
Remediation
Version ranges on file
Affected products
vendor MongoDB Inc MongoDB Server 8.0 <8.0.4

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.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • vendor MongoDB Inc MongoDB Server 8.0 <8.0.48.0 <8.0.4

How to fix CVE-2025-6706

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

CVE-2025-6706 is not in CISA KEV. FIRST estimates a 26.00% chance of exploitation in the next 30 days. Check whether you run MongoDB Inc MongoDB Server.

Which versions are affected?

Compare what you have installed with MongoDB Inc MongoDB Server 8.0 <8.0.4 8.0 <8.0.4. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

No weakness class is stored. EPSS 26.00%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

No public source repository is identified for this product.

Timeline

Detection, updates, and resolution for this record.

  1. Jun 26, 2025 · EUVD

    Detected

    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 ver

  2. Jun 26, 2025 · EUVD

    Updated

    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 ver

Sources

  • CVE.orgVulnerability recordCVE-2025-6706

    Official CVE identifier

    cve.org
  • EUVDVulnerability recordEUVD-2025-19177

    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

    euvd.enisa.europa.eu

References

Freshness

Last verified in this catalog Jun 26, 2025. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.