Improper Certificate Validation Affecting mongodb package, versions <3.2.5


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (4th 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-RUST-MONGODB-13541613
  • published14 Oct 2025
  • disclosed13 Oct 2025
  • creditUnknown

Introduced: 13 Oct 2025

NewCVE-2025-11695  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade mongodb to version 3.2.5 or higher.

Overview

mongodb is an official MongoDB driver for Rust.

Affected versions of this package are vulnerable to Improper Certificate Validation when the connection string parameter tlsInsecure is set to False. An attacker can intercept or manipulate encrypted traffic by exploiting the lack of certificate validation during TLS connections.

CVSS Base Scores

version 4.0
version 3.1