CVE-2025-11695 Configuration may unexpectedly disable certificate validation
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.
| Package | Affected | Fixed in |
|---|---|---|
mongodb crates.io | All versions | 3.2.5 |
mongodb crates.io | All versions | 3.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.
Other vulnerabilities in MongoDB Rust Driver
- CVE-2026-81526 Cross-database write redirection via unvalidated dotted database name in bulk write namespaces
- CVE-2024-6382 Adversarial unsanitized input may cause MongoDB Rust Driver to issue unintended commands.
- CVE-2026-88024 GridFS data disclosure and deletion via query-operator injection in file IDs in the MongoDB Rust Driver
- CVE-2021-20332 Exposure of Sensitive Information to an Unauthorized Actor in MongoDB Rust Driver
Sources
Also known as GHSA-3p6w-gv5g-xjw9.