Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-11695: CWE-295: Improper Certificate Validation in MongoDB Rust Driver

0
High
VulnerabilityCVE-2025-11695cvecve-2025-11695cwe-295
Published: Mon Oct 13 2025 (10/13/2025, 16:22:57 UTC)
Source: CVE Database V5
Vendor/Project: MongoDB
Product: Rust Driver

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

AI-Powered Analysis

AILast updated: 10/13/2025, 17:03:15 UTC

Technical Analysis

CVE-2025-11695 is a vulnerability classified under CWE-295 (Improper Certificate Validation) affecting MongoDB Rust Driver versions prior to 3.2.5. The issue arises when the connection string includes the parameter tlsInsecure=False, which paradoxically disables TLS certificate validation instead of enforcing it. This misconfiguration allows an attacker positioned on the network path to intercept and manipulate the TLS handshake, effectively enabling man-in-the-middle (MITM) attacks. The vulnerability impacts the confidentiality and integrity of data exchanged between the client application and MongoDB servers. The CVSS 3.1 score is 8.0 (high), reflecting network attack vector, high impact on confidentiality and integrity, no privileges required, and user interaction needed. The scope is changed (S:C), indicating that the vulnerability can affect resources beyond the vulnerable component. No known exploits have been reported yet, but the risk is significant due to the widespread use of MongoDB and the increasing adoption of Rust in backend services. The vulnerability is particularly dangerous because developers might mistakenly believe that setting tlsInsecure=False enforces security, while it actually disables certificate validation. This can lead to silent interception and data compromise without triggering alarms. The vulnerability was published on October 13, 2025, and no official patches or mitigations beyond upgrading to version 3.2.5 have been documented at the time of reporting.

Potential Impact

For European organizations, this vulnerability poses a significant risk to the confidentiality and integrity of sensitive data transmitted to MongoDB databases when using the Rust Driver with the vulnerable versions and configuration. Sectors such as finance, healthcare, government, and critical infrastructure that rely on secure database connections could face data breaches, unauthorized data manipulation, or espionage. The vulnerability could enable attackers to intercept authentication tokens, query data, or inject malicious commands if the TLS connection is compromised. Given the high adoption of MongoDB in Europe and the growing use of Rust for backend services, the attack surface is considerable. Additionally, the vulnerability could undermine compliance with GDPR and other data protection regulations due to potential unauthorized data exposure. The lack of known exploits in the wild suggests the threat is emerging, but the ease of network-based exploitation and the severity of impact warrant immediate attention.

Mitigation Recommendations

European organizations should immediately audit their MongoDB Rust Driver usage to identify versions prior to 3.2.5 and check for the presence of tlsInsecure=False in connection strings. The primary mitigation is to upgrade the MongoDB Rust Driver to version 3.2.5 or later, where proper certificate validation is enforced. Avoid using the tlsInsecure=False parameter altogether, as it disables critical security checks. Implement network-level protections such as TLS interception detection, strict firewall rules, and network segmentation to reduce the risk of MITM attacks. Employ certificate pinning or mutual TLS authentication where feasible to strengthen trust validation. Conduct security awareness training for developers to understand the implications of TLS configuration parameters. Monitor network traffic for anomalies indicative of MITM attempts. Finally, integrate vulnerability scanning and dependency management tools to detect and remediate usage of vulnerable driver versions proactively.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
mongodb
Date Reserved
2025-10-13T16:15:52.158Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 68ed30c839004152d7ef8a27

Added to database: 10/13/2025, 5:03:04 PM

Last enriched: 10/13/2025, 5:03:15 PM

Last updated: 10/13/2025, 8:06:56 PM

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats