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

Published Sep 24, 2026
·
Updated

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.

Affected Software

1 affected component
pypi/pymongo

Event History

Sep 24, 2026
CVE Published
via MITRE·06:18 PM
Data Sourced
via MITRE·06:18 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Applications using PyMongo client-side field level encryption are exposed if an attacker can write to the encryption key metadata stored in the database. The issue affects connections initiated by the application host running the driver.

2

What must an attacker do to exploit it?

The attacker needs write access to encryption key metadata and must set a key management endpoint value that ends in ".sock". The driver can then interpret that value as a local Unix domain socket path and connect to it.

3

What data can be sent to the local socket?

The connection is limited to the start of a TLS handshake. The available information states that no attacker-chosen content is transmitted.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203