mongodb/mongo-rust-driver · Security
MongoDB Rust Driver has certificate validation disabled when `tlsInsecure=False` appears in connection string
- GHSA ID
- GHSA-3p6w-gv5g-xjw9
- CVE ID
- CVE-2025-11695
- Severity
- high
- Published
- Updated
- CVSS
- 8 · CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
- CVSS v3
- 8 · CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N
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.
CWEs
- CWE-295 · Improper Certificate Validation
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 ↗