CVE-2026-96747
Description
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.
How to fix
- pymongo4.18.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pymongoPyPI | 3.9.0 ≤ v < 4.18.2 | 4.18.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.