Incorrect Permission Assignment for Critical Resource Affecting mongodb package, versions [6.0.0-alpha, 6.0.24-rc0)[7.0.0-alpha, 7.0.18)[8.0.0-alpha, 8.0.6)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.27% (20th 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-14621205
  • published28 Dec 2025
  • disclosed5 Sept 2025
  • creditUnknown

Introduced: 5 Sep 2025

CVE-2025-10059  (opens in a new tab)
CWE-732  (opens in a new tab)

How to fix?

Upgrade mongodb to version 6.0.24-rc0, 7.0.18, 8.0.6 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Permission Assignment for Critical Resource involving invalid session identifiers in shared queries. An attacker can exploit this by issuing shared queries with an improperly set lsid, causing the router process to terminate.

CVSS Base Scores

version 4.0
version 3.1