p PatchFirst

PatchFirst · Latest vulnerabilities

pymongo vulnerabilities

Vulnerabilities published for pymongo in the last 30 days: 6. Listed in the KEV catalogue: 0.

RSS ↗
Filter vulnerabilities
Clear filters

Vulnerabilities: 7

  1. CVE-2026-106435

    Medium · CVSS 5.9EPSS 0.09%No fix published

    Application denial of service via out-of-bounds read in BSON Regex decoding in MongoDB Python Driver

    The 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.

    Published Updated
  2. CVE-2026-96749

    High · CVSS 7.5EPSS 0.13%No fix published

    Heap out-of-bounds write via signed size overflow in BSON document encoding

    An 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.

    Published Updated
  3. CVE-2026-96748

    High · CVSS 8.3EPSS 0.26%No fix published

    Connection redirection via percent-encoded delimiter injection in connection string hosts

    PyMongo'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.

    Published Updated
  4. CVE-2026-96747

    Medium · CVSS 5.3EPSS 0.13%No fix published

    Forced local Unix socket connection via dot-sock KMS endpoint in client-side field encryption

    The 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.

    Published Updated
  5. CVE-2026-96745

    Medium · CVSS 6.3EPSS 0.3%No fix published

    PHP object injection via unsuppressible __pclass class inference in command monitoring events

    Deserialization of untrusted data in the command monitoring support of the MongoDB PHP Driver can cause class names embedded in document content to be honored when the driver builds monitoring event objects. When an application registers a command monitoring subscriber and includes untrusted data in a database operation, an unauthenticated party who controls that data may cause an application class implementing the driver's persistable interface to be instantiated and its unserialization method invoked with the supplied data. The resulting impact depends on the classes available in the application.

    Published Updated
  6. CVE-2026-96746

    High · CVSS 8.3EPSS 0.37%No fix published

    Heap buffer overflow via mid-scan command list growth in client topology monitoring

    An out-of-bounds write in the connection-monitoring logic of the MongoDB C Driver may allow an unauthenticated party who controls name resolution and the responses of the hosts named in a client's connection string to write beyond the end of a heap buffer. This may cause the application using the driver to terminate unexpectedly.

    Published Updated
  7. CVE-2026-88029

    Medium · CVSS 6.1EPSS 0.27%No fix published

    GridFS data disclosure and deletion via query-operator injection in file IDs in the MongoDB Python Driver

    Improper 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.

    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →