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.
Published: 2026-09-24
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: Local unauthorized socket connection
Action: Patch
AI Analysis

Impact

The MongoDB Python Driver’s client‑side field level encryption can mistakenly treat a key management endpoint ending in ".sock" as a path to a local Unix domain socket rather than an external server. A user who can write to the encryption key metadata stored in the database can force an application using the driver to open a connection to a local socket on the application host. Only the initial part of a TLS handshake is transmitted, so the attacker cannot choose arbitrary content, but the ability to initiate local connections could allow exploitation of other listening services or denial of service. The impact is therefore a local misconfiguration that could expose intermediate services to local attackers. The affected system is the MongoDB Python Driver. All versions prior to the 4.18.2 release are potentially vulnerable, as the advisory and changelog indicate the issue was fixed in that version. The driver is used by Python applications that interact with MongoDB databases. Risk assessment shows a medium CVSS score of 5.3, no EPSS data, and the vulnerability is not listed in CISA’s KEV catalog. The attack vector requires local write access to key metadata, typically an insider or compromised role, making the likelihood of exploitation moderate in environments where such permissions are not strictly controlled.

Affected Systems

Python applications that use the MongoDB Python Driver are affected. Versions earlier than 4.18.2 contain the vulnerability; the 4.18.2 release and later incorporate the fix.

Risk and Exploitability

The CVSS base score of 5.3 indicates a medium impact. No EPSS data is available, and the vulnerability is not listed in CISA’s KEV catalog. Exploitation requires that an attacker have write permissions to the encryption key metadata in the MongoDB database, which typically corresponds to an insider or a role with elevated privileges. Because such permissions are generally tightly controlled, the probability of exploitation is moderate in well‑managed environments.

Generated by OpenCVE AI on September 25, 2026 at 04:59 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to MongoDB Python Driver version 4.18.2 or later
  • Restrict write permissions to encryption key metadata in the database
  • Apply any additional vendor security patches if newer releases are available

Generated by OpenCVE AI on September 25, 2026 at 04:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 24 Sep 2026 19:30:00 +0000

Type Values Removed Values Added
References
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 24 Sep 2026 18:30:00 +0000

Type Values Removed Values Added
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.
Title Forced local Unix socket connection via dot-sock KMS endpoint in client-side field encryption
Weaknesses CWE-918
References
Metrics cvssV3_1

{'score': 5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: mongodb

Published:

Updated: 2026-09-24T19:12:04.304Z

Reserved: 2026-09-23T15:45:50.286Z

Link: CVE-2026-96747

cve-icon Vulnrichment

Updated: 2026-09-24T18:36:05.933Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-24T19:17:20.650

Modified: 2026-09-24T21:04:40.340

Link: CVE-2026-96747

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-25T05:00:10Z

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)