Mongodb Python Driver vulnerabilities

9 vulnerabilities

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

PrioritiseCVE-2026-135898mongodb · python driver +2 moreOut-of-bounds read in BSON array decoding in the Python Driver C extensionAn out-of-bounds read in the native C BSON decoding extension of the MongoDB Python Driver may allow an unauthenticated party who can supply crafted BSON data to the decoder to cause the application process to terminate. In some configurations, nearby process memory may be included in error messages, which may result in limited unintended disclosure of data.CVSS8.8HighEPSS0.60%PrioritiseCVE-2026-135146mongodb · python driver +2 moreImproper certificate revocation check for stapled OCSP responses in the Python DriverAn improper certificate revocation check in the MongoDB Python Driver's optional TLS revocation-checking support allows an unauthenticated party that operates the network endpoint a client connects to, and that holds a revoked but still-dated certificate trusted by that client, to have the connection accepted. This may result in unintended disclosure of application credentials and other session data, and in the client treating responses from that endpoint as genuine.CVSS9.1CriticalEPSS0.30%RoutineCVE-2026-129926mongodb · python driver +2 moreAuthentication identity confusion via NUL-byte injection in SASL PLAIN credentialsThe MongoDB Python 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.27%RoutineCVE-2026-129927mongodb · python driver +5 moreCredential exposure via unmasked option value in Python driver object text outputA credential-handling weakness in the MongoDB Python Driver allows a configuration option value that protects private key material to be written in clear text into the embedding application's own output and log records when a driver object is converted to text. A party able to read that output may obtain the credential. Obtaining it requires read access to the application's local output or log files.CVSS5.7MediumEPSS0.15%RoutineCVE-2026-106435mongodb · python driver +25 moreApplication denial of service via out-of-bounds read in BSON Regex decoding in MongoDB Python DriverThe MongoDB Python Driver's binary accelerator can read outside a buffer when an application decodes malformed BSON containing a truncated regular-expression element without a trailing NUL byte. An actor who can supply BSON to the documented decode or decode_all API can cause the application process to terminate when the C extension is loaded. The driver's normal database wire-protocol path does not reach this code.CVSS5.9MediumEPSS0.09%RoutineCVE-2026-96749mongodb · python driver +68 moreHeap out-of-bounds write via signed size overflow in BSON document encodingAn integer overflow in the BSON document encoding component of the MongoDB Python Driver's bundled native extension may occur when a single document is built from an unusually large amount of caller-supplied data. Size arithmetic is performed in a signed 32-bit type, and the guard meant to catch the overflow is written in a form whose behavior is not defined by the C language standard. A party with no privileges who can place a very large value into data that an application encodes may, depending on how the native extension was built, cause a write outside the bounds of an allocated buffer inside the application's own process.CVSS8.4HighEPSS0.19%PrioritiseCVE-2026-96748mongodb · python driver +29 moreConnection redirection via percent-encoded delimiter injection in connection string hostsPyMongo's connection string parsing decodes percent-encoded characters in the host portion before the host list is separated on its delimiters. When an application places a hostname value supplied by an unauthenticated party into a connection string, that party may cause additional servers of their choosing to be added to the application's database client. The application may then send its authentication exchange and database operations to one of those servers, which can observe limited information and return altered results.CVSS8.3HighEPSS0.36%RoutineCVE-2026-96747mongodb · python driver +29 moreForced local Unix socket connection via dot-sock KMS endpoint in client-side field encryptionThe client-side field level encryption support in the MongoDB Python Driver can treat a key management endpoint value ending in ".sock" as a local Unix domain socket path rather than a remote host. A user with write access to the encryption key metadata stored in the database can cause an application using the driver to open connections to local sockets on the application host. Data sent over these connections is limited to the start of a TLS handshake, so no chosen content is transmitted.CVSS5.3MediumEPSS0.19%RoutineCVE-2026-88029mongodb · python driver +69 moreGridFS data disclosure and deletion via query-operator injection in file IDs in the MongoDB Python DriverImproper neutralization of special elements in data query logic in the GridFS component of the MongoDB Python 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. The affected rename operation may also rename a stored file other than the intended target.CVSS8.3HighEPSS0.27%