Cyber Resilience

CVE-2026-5170

Mongodb 7.0.0 – 7.0.31

Published
30 March 2026
Modified
02 April 2026
Patch / advisory
CVSS Score v4 6.0
Click a component to see what it means
Raw vectorCVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0020 11th percentile
Risk Priority 35 floored blend · peak EPSS

Summary

CVE-2026-5170 is a medium-severity Reachable Assertion (CWE-617) vulnerability in Mongodb Mongodb. Its CVSS base score is 6.0 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Application or System Exploitation (T1499.004); ranked at the 11th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and AC-6 (Least Privilege) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

A user with access to the cluster with a limited set of privilege actions can trigger a crash of a mongod process during the limited and unpredictable window when the cluster is being promoted from a replica set to a…

more

sharded cluster. This may cause a denial of service by taking down the primary of the replica set. This issue affects MongoDB Server v8.2 versions prior to 8.2.2, MongoDB Server v8.0 versions between 8.0.18, MongoDB Server v7.0 versions between 7.0.31.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
Why these techniques?

Vulnerability allows limited-privilege user to crash mongod primary via reachable assertion during replica-to-shard promotion, directly enabling application exploitation for endpoint DoS.

Confidence: HIGH · MITRE ATT&CK Enterprise v19.0

CVEs Like This One

CVE-2026-9746Same product: Mongodb Mongodb
CVE-2026-9747Same product: Mongodb Mongodb
CVE-2026-9750Same product: Mongodb Mongodb
CVE-2026-9749Same product: Mongodb Mongodb
CVE-2026-25610Same product: Mongodb Mongodb
CVE-2026-9748Same product: Mongodb Mongodb
CVE-2026-8199Same product: Mongodb Mongodb
CVE-2026-6914Same product: Mongodb Mongodb
CVE-2025-6706Same product: Mongodb Mongodb
CVE-2025-7259Same product: Mongodb Mongodb

Affected Assets

mongodb
mongodb
7.0.0 — 7.0.31 · 8.0.0 — 8.0.18 · 8.2.0 — 8.2.2

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)
  • AC-6 Least Privilege
  • AC-3 Access Enforcement
  • SI-10 Information Input Validation
Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)

Mitigating Controls (NIST 800-53 r5) AI

prevent

Directly counters the CVE by ensuring users are restricted to only the minimal actions needed, eliminating the limited-privilege path that triggers the mongod crash during replica-set to sharded-cluster promotion.

prevent

Enforces authorization checks on every operation, blocking the unauthorized sequence of actions that reach the failing assertion in the promotion window.

prevent

Would reject malformed or out-of-state inputs during the replica-to-shard transition, preventing the reachable assertion (CWE-617) from being exercised.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly prevent unsafe assertions from being coded in reachable paths.

DE.CM-09 partial match
prevents

Runtime monitoring of software can detect assertion-triggered crashes as adverse events.

ID.RA-01 partial match
prevents

Vulnerability identification processes can discover and record reachable-assertion flaws before deployment.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

detects

Security testing in development can detect reachable assertions before release, reducing the likelihood of exploitation.

prevents

Secure development lifecycle mandates defensive coding and input validation that prevent reachable assertions from being triggered by untrusted data.

prevents

Application security requirements can specify that assertions must not be reachable from attacker-controlled inputs.

prevents

Secure architecture principles discourage the use of assertions for runtime error handling that an attacker could exploit.

prevents

Secure coding standards explicitly ban the use of assert() or equivalent statements that can be triggered by external input.

References