Improper Check for Unusual or Exceptional Conditions Affecting mongodb package, versions [8.0.0-alpha, 8.0.16-rc0)[8.1.0-alpha, 8.1.1-rc0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.28% (21st 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-14619271
  • published28 Dec 2025
  • disclosed7 Jul 2025
  • creditUnknown

Introduced: 7 Jul 2025

CVE-2025-7259  (opens in a new tab)
CWE-754  (opens in a new tab)

How to fix?

Upgrade mongodb to version 8.0.16-rc0, 8.1.1-rc0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Check for Unusual or Exceptional Conditions due to improper handling of duplicate _id fields. An attacker can exploit this by repeatedly issuing such malformed queries to disrupt database availability.

CVSS Base Scores

version 4.0
version 3.1