Mongodb Go Driver vulnerabilities
7 vulnerabilities
Known vulnerabilities in Mongodb Go Driver, newest first, with CVSS severity, EPSS, KEV listings, ransomware use and the affected versions.
RoutineCVE-2026-129934mongodb · go_driver +2 moreCredential exposure via unmasked option values in Go driver connection string parse errorsThe MongoDB Go driver's connection string parser includes the raw, undecoded value of a query option in the error it returns when that value contains invalid percent encodings. When the option holds a secret, such as a TLS key file password or an AWS session token, the secret appears in plain text in the error. A party with low-privileged read access to wherever the application records or displays that error may learn the secret.CVSS5.7MediumEPSS0.13%RoutineCVE-2026-129935mongodb · go_driver +2 moreAuthentication identity confusion via NUL-byte injection in SASL PLAIN credentialsThe MongoDB Go 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%PrioritiseCVE-2026-107325mongodb · go_driver +7 moreApplication denial of service via missing BSON array length validation in MongoDB Go DriverImproper validation of a BSON array length in the MongoDB Go Driver can cause an out-of-bounds index and runtime panic when an application calls bson.RawArray.Validate or bsoncore.Array.Validate on a malformed four-byte array. An unauthenticated actor who can supply raw BSON array data to an affected application may terminate an unprotected application process, causing a denial of service. No confidentiality or integrity impact has been identified.CVSS8.2HighEPSS0.24%PrioritiseCVE-2026-107324mongodb · go_driver +5 moreApplication denial of service via integer overflow in BSON value-length validation in MongoDB Go DriverAn integer overflow in BSON value-length handling in the MongoDB Go Driver can cause a runtime panic when an application validates or accesses a malformed BSON document. An unauthenticated actor who can supply BSON bytes to an affected application may terminate an unprotected application process, causing a denial of service. The driver's server-monitoring path contains panic recovery and is limited to server-selection failure.CVSS8.2HighEPSS0.23%RoutineCVE-2026-88031mongodb · go_driver +2 moreGridFS data deletion via query-operator injection in file IDs in the MongoDB Go DriverImproper neutralization of special elements in data query logic in the GridFS component of the MongoDB Go 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 cause all GridFS file chunks in the affected bucket to be removed, rendering stored file content unreadable.CVSS8.1HighEPSS0.35%RoutineCVE-2026-81521mongodb · go_driver +5 moreCross-database write retargeting via unvalidated dotted database name in Client.BulkWrite in the MongoDB Go DriverThe MongoDB Go Driver's client-level bulk write operation may accept a caller-supplied database name containing a reserved separator character without escaping it before the name is used to build the target namespace for the operation. An application that passes untrusted input as a database name could therefore have the write directed at a database and collection other than the ones it intended. Only the Client.BulkWrite API is affected.CVSS7.1HighEPSS0.24%RoutineCVE-2021-20329mongodb inc · mongodb go driver +3 moreSpecific cstrings input may not be properly validated in the Go DriverA malicious user could use a Go object with specific string to potentially inject additional fields into marshalled documents. This issue affects all MongoDB GO Drivers prior to and including 1.5.0.CVSS6.8MediumEPSS1.10%