CVE-2025-11695: Configuration may unexpectedly disable certificate validation
When tlsInsecure=False appears in a connection string, certificate validation is disabled.
This vulnerability affects MongoDB Rust Driver versions prior to v3.2.5
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-11695?
CVE-2025-11695 is classified as a critical vulnerability due to its potential to allow man-in-the-middle attacks by disabling certificate validation.
How do I fix CVE-2025-11695?
To fix CVE-2025-11695, update the MongoDB Rust Driver to version 3.2.5 or later to ensure proper certificate validation.
Which versions of MongoDB Rust Driver are affected by CVE-2025-11695?
CVE-2025-11695 affects MongoDB Rust Driver versions prior to 3.2.5.
What happens if tlsInsecure=False is set in the connection string for MongoDB Rust Driver?
Setting tlsInsecure=False in the connection string disables certificate validation, making the connection vulnerable to attacks.
Is there a workaround for CVE-2025-11695 if I cannot upgrade the MongoDB Rust Driver?
There is no recommended workaround for CVE-2025-11695 other than upgrading to a secure version, as disabling tlsInsecure should not be relied upon.