Incorrect Authorization Affecting mongodb package, versions [5.0.0-alpha, 5.0.31-rc0)[6.0.0-alpha, 6.0.24-rc0)[7.0.0-alpha, 7.0.21-rc0)[8.0.0-alpha, 8.0.5-rc0)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.15% (5th 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 Learn

Learn about Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-MONGODB-14619263
  • published29 Dec 2025
  • disclosed26 Jun 2025
  • creditUnknown

Introduced: 26 Jun 2025

CVE-2025-6707  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade mongodb to version 5.0.31-rc0, 6.0.24-rc0, 7.0.21-rc0, 8.0.5-rc0 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Authorization when performing admin actions. An unauthenticated user can exploit a timing window to perform actions with permissions that should have been revoked following a legitimate admin command, accessing or modifying resources beyond their current authorization level.

CVSS Base Scores

version 4.0
version 3.1