high8.0
CVE-2025-11695
MongoDB Rust Driver has certificate validation disabled when `tlsInsecure=False` appears in connection string
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| rust | mongodb | < 3.2.5 | 3.2.5 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Mongodb | Rust Driver | before 3.2.5 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://jira.mongodb.org/browse/RUST-2264
- https://github.com/advisories/GHSA-3p6w-gv5g-xjw9
- https://nvd.nist.gov/vuln/detail/CVE-2025-11695
- https://github.com/mongodb/mongo-rust-driver/pull/1453
- https://github.com/mongodb/mongo-rust-driver/commit/21ed6aeeea386628621b36a6af2a1a248cc87dcf
- https://github.com/mongodb/mongo-rust-driver/commit/b918cd6676331c45f26dd1acd13e230aaf17fe6d