Mongodb Rust Driver vulnerabilities

9 vulnerabilities

Known vulnerabilities in Mongodb Rust Driver, newest first, with CVSS severity, EPSS, KEV listings, ransomware use and the affected versions.

RoutineCVE-2026-135897mongodb · rust driverSensitive information in connection string parse errors in the Rust DriverThe MongoDB Rust driver's connection-string parser can include database password text and authentication property values in the error messages it returns when a connection string is malformed. The optional error-redaction feature does not fully remove this text. A party with read access to the application's logs or error output may obtain part or all of a database credential.CVSS5.7MediumEPSS0.28%RoutineCVE-2026-129923mongodb · rust driverAuthentication identity confusion via NUL-byte injection in SASL PLAIN credentialsThe MongoDB Rust Driver does not neutralize NUL characters in the user name and password values it places into the message it builds for SASL PLAIN authentication. A party who can choose the login values that an application passes to the driver can alter where the fields of that message begin and end. This may result in a receiving system reading a login name and secret that differ from the values the application supplied. Authenticating as a different account still requires that account's password. Only deployments that use SASL PLAIN authentication are affected.CVSS6.3MediumEPSS0.23%RoutineCVE-2026-126838mongodb · rust driverRust Driver public Client Debug output exposes CSFLE KMS master-key materialA MongoDB Rust Driver component that holds client-side field level encryption settings includes key management service credential material in its diagnostic formatting output without redaction. An application that records or displays this formatted output may place that material where a party with read access to the application's diagnostic output can see it, which may result in unintended disclosure of key material.CVSS5.7MediumEPSS0.10%RoutineCVE-2026-120673mongodb · rust driverRust Driver 3.9.1 exports CSFLE plaintext in `db.query.text` before encrypting the commandA component of the MongoDB Rust Driver that records diagnostic tracing data can capture command content before automatic client-side field level encryption is applied. In deployments that turn on the optional tracing capability together with automatic in-use encryption, a party with read access to the application's exported trace data may obtain field values that the application designated for encryption, without access to the encryption keys. This may result in unintended disclosure of data.CVSS6.8MediumEPSS0.10%RoutineCVE-2026-88024mongodb · rust driverGridFS data disclosure and deletion via query-operator injection in file IDs in the MongoDB Rust DriverImproper neutralization of special elements in data query logic in the GridFS component of the MongoDB Rust Driver can cause a caller-supplied structured file identifier to be interpreted as a query condition rather than as a literal identifier. An authenticated user who can influence the identifier passed by an affected application may obtain stored file content beyond the intended target or cause all GridFS file chunks in the affected bucket to be removed, rendering stored file content unreadable.CVSS8.3HighEPSS0.33%RoutineCVE-2026-81526mongodb · rust driverCross-database write redirection via unvalidated dotted database name in bulk write namespacesThe MongoDB Rust Driver does not neutralize special characters in a caller-supplied target identifier before embedding it in the request it sends to the server. An actor able to influence that identifier in an application using the driver may cause write operations to be applied to an unintended target within the same deployment using the application's own credentials. This may result in unauthorized modification of data belonging to another logical boundary enforced by the application.CVSS7.1HighEPSS0.27%RoutineCVE-2025-11695mongodb · rust driver +1 moreConfiguration may unexpectedly disable certificate validationWhen tlsInsecure=False appears in a connection string, certificate validation is disabled. This vulnerability affects MongoDB Rust Driver versions prior to v3.2.5CVSS8.0HighEPSS0.18%RoutineCVE-2024-6382mongodb inc · mongodb rust driver +2 moreAdversarial unsanitized input may cause MongoDB Rust Driver to issue unintended commands.Incorrect handling of certain string inputs may result in MongoDB Rust driver constructing unintended server commands. This may cause unexpected application behavior including data modification. This issue affects MongoDB Rust Driver 2.0 versions prior to 2.8.2CVSS7.5HighEPSS0.28%RoutineCVE-2021-20332mongodb inc · mongodb rust driver +2 moreMongoDB Rust Driver may publish events containing authentication-related data to a connection pool event listener configured by an applicationSpecific MongoDB Rust Driver versions can include credentials used by the connection pool to authenticate connections in the monitoring event that is emitted when the pool is created. The user's logging infrastructure could then potentially ingest these events and unexpectedly leak the credentials. Note that such monitoring is not enabled by default. This issue affects MongoDB Rust Driver version 2.0.0-alpha, MongoDB Rust Driver version 2.0.0-alpha1 and MongoDB Rust Driver version 1.0.0 through to and including 1.2.1CVSS4.4MediumEPSS0.31%