Open-source package vulnerability · Rust (crates.io)
CVE-2025-11695: MongoDB Rust Driver has certificate validation disabled when `tlsInsecure=False` appears in connection string
highCVSS 3.1 8.0GHSA-3p6w-gv5g-xjw9
When tlsInsecure=False appears in a connection string, certificate validation is disabled. This vulnerability affects MongoDB Rust Driver versions prior to v3.2.5.
Published Oct 13, 2025
Affected packages
mongodb
- Ecosystem
- Rust (crates.io)
- Affected
- < 3.2.5
- Fixed in
- 3.2.5
- Check
cargo tree -i mongodb
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
When tlsInsecure=False appears in a connection string, certificate validation is disabled.
This vulnerability affects MongoDB Rust Driver versions prior to v3.2.5.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-11695
- https://jira.mongodb.org/browse/RUST-2264
- 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
- https://github.com/advisories/GHSA-3p6w-gv5g-xjw9
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
