Server-Side Request Forgery (SSRF) in mongo-python-driver - CVE-2026-96747
Published: September 24, 2026
Vulnerability details
The vulnerability allows a remote user to initiate a connection to an arbitrary Unix domain socket.
The vulnerability exists due to improper input validation in the _EncryptionIO.kms_request KMS endpoint handling when processing a .sock-suffixed KMS endpoint from a key vault document. A remote user can set masterKey.endpoint on a data key to an attacker-chosen socket path to initiate a connection to an arbitrary Unix domain socket.
Only applications using client-side field level encryption or Queryable Encryption with a key vault writable by untrusted parties are affected. The connection is wrapped in a verifying TLS context, so the TLS handshake fails and no KMS message is sent.
Affected software
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Package Hub 15
openSUSE Leap
python3-pymongo
python2-pymongo-debuginfo
python2-pymongo
python-pymongo-debugsource
python-pymongo-debuginfo
python3-pymongo-debuginfo
How to mitigate CVE-2026-96747
python3-pymongo - update to 3.11.0-150300.3.6.1
python2-pymongo-debuginfo - update to 3.11.0-150300.3.6.1
python2-pymongo - update to 3.11.0-150300.3.6.1
python-pymongo-debugsource - update to 3.11.0-150300.3.6.1
python-pymongo-debuginfo - update to 3.11.0-150300.3.6.1
python3-pymongo-debuginfo - update to 3.11.0-150300.3.6.1