CVEBrief

Home / MongoDB Inc / MongoDB Server / CVE-2025-6706

CVE-2025-6706: is it exploited, and which versions of MongoDB Inc MongoDB Server are affected and fixed?

CVE-2025-6706 is an use after free vulnerability in MongoDB Inc MongoDB Server. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: MongoDB Server from 6.0 before 6.0.21, MongoDB Server from 7.0 before 7.0.17 and MongoDB Server from 8.0 before 8.0.4 (CVE record by mongodb). Fixed in 6.0.21, 7.0.17 and 8.0.4 (CVE record by mongodb). Severity: Medium (5.0, CVSS 3.1, from mongodb).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:19 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 14:38 UTC
Affected
MongoDB Server from 6.0 before 6.0.21, MongoDB Server from 7.0 before 7.0.17 and MongoDB Server from 8.0 before 8.0.4
CVE record by mongodb
Fixed in
6.0.21, 7.0.17 and 8.0.4
CVE record by mongodb
Severity
Medium 5.0
CVSS 3.1 from mongodb
Exploit odds (EPSS)
0.28% in 30 days
higher than 22% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2025-6706?

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.

From the CVE record by mongodb, last updated June 26, 2025, 17:40 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
MongoDB IncMongoDB Serverfrom 6.0 before 6.0.21
from 7.0 before 7.0.17
from 8.0 before 8.0.4
6.0.21, 7.0.17, 8.0.4

As the CVE record by mongodb states it, last updated June 26, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
mongodbmongodbfrom 6.0.0 before 6.0.21application
mongodbmongodbfrom 7.0.0 before 7.0.17application
mongodbmongodbfrom 8.0.0 before 8.0.4application

NVD analysis (status Analyzed), last modified June 17, 2026, 10:02 UTC.

How severe is CVE-2025-6706?

ScoreVersionVectorSource
Medium 5.0CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:Lmongodb
High 8.8CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2025-6706 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: partial (CISA ADP, June 26, 2025)
EPSS
0.28% probability of exploitation activity in the next 30 days, percentile 21.6 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
June 26, 2025
Published
June 26, 2025, 14:00 UTC
CVE record updated
June 26, 2025, 17:40 UTC by mongodb
NVD
Analyzed, last modified June 17, 2026, 10:02 UTC
Last checked
CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:19 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect MongoDB Server?

Every CVE in MongoDB Server

Questions about CVE-2025-6706

Is CVE-2025-6706 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 0.28% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of MongoDB Inc MongoDB Server are affected by CVE-2025-6706?

MongoDB Server from 6.0 before 6.0.21, MongoDB Server from 7.0 before 7.0.17 and MongoDB Server from 8.0 before 8.0.4, per the CVE record by mongodb. The tables above give every range the sources list.

Which version fixes CVE-2025-6706?

6.0.21, 7.0.17 and 8.0.4, per the CVE record by mongodb. Check the vendor's advisory before you rely on it.

How severe is CVE-2025-6706?

Medium (5.0, CVSS 3.1, from mongodb). The severity table above shows each score with its source.

Where is the official record of CVE-2025-6706?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.