CVE-2025-11695 Configuration may unexpectedly disable certificate validation

High 8.0 Published Updated

Attackers can bypass TLS certificate validation in MongoDB Rust Driver by using a specific connection string parameter, enabling man-in-the-middle attacks.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-11695?

CVE-2025-11695 is a high-severity vulnerability in MongoDB Rust Driver, published on 13 Oct 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

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

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

Weakness: CWE-295

Which versions are affected by CVE-2025-11695?

2 open source packages ship an affected version, including mongodb. It affects 1 product.

PackageAffectedFixed in
mongodb crates.ioAll versions3.2.5
mongodb crates.ioAll versions3.2.5

Products include Mongodb Rust Driver.

How do I fix CVE-2025-11695?

Upgrade mongodb to 3.2.5 or later.

Is CVE-2025-11695 being exploited?

There is no known exploitation of CVE-2025-11695 in the wild and no public exploit code.

Sources

Also known as GHSA-3p6w-gv5g-xjw9.

Is CVE-2025-11695 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free