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

Machine-generated threat intelligence

AILast updated: 02/26/2026, 22:13:54 UTC

Technical Analysis

CVE-2025-11695 addresses a critical security flaw in the MongoDB Rust Driver versions prior to 3.2.5, specifically related to improper certificate validation (CWE-295). When the connection string includes the parameter tlsInsecure=False, the driver disables TLS certificate validation, contrary to expected behavior. This misconfiguration allows attackers positioned on the network path to intercept and manipulate TLS-protected communications between client applications and MongoDB servers, effectively enabling man-in-the-middle (MITM) attacks. The vulnerability impacts confidentiality and integrity by allowing attackers to eavesdrop on or alter sensitive data in transit. The CVSS 3.1 score of 8.0 reflects a high severity due to network attack vector, no privileges required, but user interaction needed, and a scope change indicating potential impact beyond the vulnerable component. No known public exploits have been reported yet, but the vulnerability poses a significant risk to applications using the Rust Driver with insecure TLS settings. The issue is resolved in MongoDB Rust Driver version 3.2.5, which restores proper certificate validation behavior. This vulnerability is particularly critical for environments where secure database communication is essential, such as financial, healthcare, and cloud services.

Potential Impact

The vulnerability can lead to severe confidentiality and integrity breaches by enabling MITM attacks on MongoDB connections using the Rust Driver with insecure TLS settings. Attackers can intercept sensitive data, including authentication credentials, queries, and results, or inject malicious data, potentially compromising application logic and data integrity. This can result in data leakage, unauthorized data modification, and disruption of trust in database communications. Organizations relying on the affected driver versions in production environments, especially those handling sensitive or regulated data, face increased risk of data breaches and compliance violations. The lack of authentication requirements lowers the barrier for exploitation, while the need for user interaction (e.g., initiating a connection) limits automated widespread exploitation but does not eliminate targeted attacks. The vulnerability could also undermine secure cloud deployments and microservices architectures that depend on encrypted database connections.

Mitigation Recommendations

1. Upgrade MongoDB Rust Driver to version 3.2.5 or later immediately to ensure proper certificate validation is enforced. 2. Audit all MongoDB connection strings in application configurations to verify that tlsInsecure is not set to False or any value that disables certificate validation. 3. Implement strict TLS policies and certificate pinning where feasible to prevent MITM attacks. 4. Use network-level protections such as VPNs or private networks to restrict access to MongoDB instances. 5. Monitor network traffic for unusual TLS handshake anomalies or unexpected certificate changes. 6. Educate developers and DevOps teams about the risks of disabling TLS certificate validation and enforce secure coding practices. 7. Conduct regular security assessments and penetration testing focusing on database connectivity and TLS configurations. 8. Review and update incident response plans to include scenarios involving compromised database connections.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to 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: 2/26/2026, 10:13:54 PM

Last updated: 3/25/2026, 12:11:15 PM

Views: 428

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 more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses