Reachable Assertion Affecting mongodb package, versions [7.0.0-alpha,7.0.31)[7.1.0-alpha,8.0.18)[8.1.0-alpha,8.2.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.2% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-MONGODB-15922414
  • published7 Apr 2026
  • disclosed30 Mar 2026
  • creditUnknown

Introduced: 30 Mar 2026

CVE-2026-5170  (opens in a new tab)
CWE-617  (opens in a new tab)

How to fix?

Upgrade mongodb to version 7.0.31, 8.0.18, 8.2.2 or higher.

Overview

Affected versions of this package are vulnerable to Reachable Assertion during the transition from a replica set to a sharded cluster. An attacker can cause the primary node to crash by performing specific actions with limited privileges during this promotion window.

CVSS Base Scores

version 4.0
version 3.1