Wiz Agents & Workflows are here

CVE-2025-11695
MongoDB vulnerability analysis and mitigation

Overview

A security vulnerability (CVE-2025-11695) was discovered in MongoDB Rust Driver versions prior to v3.2.5. The vulnerability occurs when tlsInsecure=False appears in a connection string, which unexpectedly disables certificate validation instead of enforcing it (MongoDB Advisory, NVD).

Technical details

The vulnerability exists in the MongoDB Rust driver's connection string parsing logic, specifically in the ConnectionString::parse method located in src/client/options.rs. When a user specifies tlsInsecure=false in the connection URI, the driver incorrectly interprets this as a request to disable TLS certificate validation due to a logical flaw in the boolean value interpretation. The vulnerability has been assigned a CVSS v3.1 base score of 8.0 (HIGH) with the vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N and is categorized as CWE-295 (Improper Certificate Validation) (Miggo, NVD).

Impact

The vulnerability exposes encrypted TLS traffic to potential man-in-the-middle attacks by disabling certificate validation when users explicitly attempt to enable security measures. This could lead to unauthorized access to sensitive data and potential manipulation of encrypted communications (Miggo).

Mitigation and workarounds

The vulnerability has been patched in MongoDB Rust Driver version 3.2.5. Users should upgrade to this version or later to resolve the issue. The fix corrects the boolean value interpretation of tlsInsecure to properly configure allow_invalid_certificates and allow_invalid_hostnames (Miggo).

Additional resources


SourceThis report was generated using AI

Related MongoDB vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-4148HIGH8.7
  • MongoDBMongoDB
  • cpe:2.3:a:mongodb:mongodb
NoYesMar 17, 2026
CVE-2026-4147HIGH7.1
  • MongoDBMongoDB
  • cpe:2.3:a:mongodb:mongodb
NoYesMar 17, 2026
CVE-2026-25613HIGH7.1
  • MongoDBMongoDB
  • mongod-7.0
NoYesFeb 10, 2026
CVE-2026-25610HIGH7.1
  • MongoDBMongoDB
  • mongod-8.0
NoYesFeb 10, 2026
CVE-2026-4358MEDIUM6.1
  • MongoDBMongoDB
  • cpe:2.3:a:mongodb:mongodb
NoYesMar 17, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management