Skip to content
OpenAdvisories

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.

Affected products

VendorProductAffectedFixed
MongoDB Python Driver 3.9.0 – < 4.18.2 4.18.2

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 pymongo 4.18.2-1 —
Debian 13 pymongo No fix yet —
Debian 12 pymongo No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 pymongo No fix yet —
Ubuntu 26.04 LTS pymongo No fix yet —
Ubuntu 24.04 LTS pymongo No fix yet —
Ubuntu 22.04 LTS pymongo No fix yet —
Ubuntu 20.04 LTS pymongo No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS pymongo No fix yet —
Ubuntu Pro 18.04 LTS pymongo No fix yet —
Ubuntu Pro 16.04 LTS pymongo No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 python-pymongo 3.11.0-150300.3.6.1 SUSE-SU-2026:4398-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-pymongo 4.18.2-1.1 openSUSE-SU-2026:11935-1
openSUSE Leap 16.0 python-pymongo 4.6.3-bp160.2.1 openSUSE-SU-2026:22003-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 python-pymongo No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling datadog-agent-7.77-core-integrations +3 No fix yet —
Wolfi rolling datadog-agent-7.81-core-integrations 7.81.3-r10 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI pymongo >= 3.9.0, < 4.18.2 4.18.2 GHSA-qx36-8mw2-4r3x

Advisories 4

References