Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. mongodb
  4. ›
  5. CVE-2025-11695

CVE-2025-11695: MongoDB Rust Driver has certificate validation disabled when `tlsInsecure=False` appears in connection string

October 13, 2025

When tlsInsecure=False appears in a connection string, certificate validation is disabled.

This vulnerability affects MongoDB Rust Driver versions prior to v3.2.5.

References

  • github.com/advisories/GHSA-3p6w-gv5g-xjw9
  • github.com/mongodb/mongo-rust-driver
  • github.com/mongodb/mongo-rust-driver/commit/21ed6aeeea386628621b36a6af2a1a248cc87dcf
  • github.com/mongodb/mongo-rust-driver/commit/b918cd6676331c45f26dd1acd13e230aaf17fe6d
  • github.com/mongodb/mongo-rust-driver/pull/1453
  • jira.mongodb.org/browse/RUST-2264
  • nvd.nist.gov/vuln/detail/CVE-2025-11695

Code Behaviors & Features

Detect and mitigate CVE-2025-11695 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.2.5

Fixed versions

  • 3.2.5

Solution

Upgrade to version 3.2.5 or above.

Impact 8 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-295: Improper Certificate Validation

Source file

cargo/mongodb/CVE-2025-11695.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 04 Nov 2025 12:20:00 +0000.