Incorrect Implementation of Authentication Algorithm Affecting mongo-c-driver package, versions [2.2.0,2.5.4)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.32% (23rd 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-CONAN-MONGOCDRIVER-20074886
  • published24 Sept 2026
  • disclosed17 Sept 2026
  • creditUnknown

Introduced: 17 Sep 2026

NewCVE-2026-93394  (opens in a new tab)
CWE-303  (opens in a new tab)

How to fix?

Upgrade mongo-c-driver to version 2.5.4 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Implementation of Authentication Algorithm due to improper validation in the SCRAM authentication process. An attacker can intercept authentication handshakes and obtain the client proof by injecting a crafted server-first-message with a controlled salt and low iteration count, enabling offline password cracking. This is only exploitable if an attacker is able to perform a man-in-the-middle attack and TLS is not enforced.

References

CVSS Base Scores

version 4.0
version 3.1