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

- Severity: Medium 5.3 (CVSS:4.0, scored by mongodb) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-09-24T18:18:10.962Z
- Modified: 2026-10-15T14:56:22.650Z
- Also known as: GHSA-qx36-8mw2-4r3x, PYSEC-2026-4295
- Weaknesses: CWE-20, CWE-918
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mongodb

## 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.

(As written by CVE List.)

## Affected

- MongoDB Python Driver: from 3.9.0 before 4.18.2
- pymongo (PyPI): from 3.9.0 before 4.18.2

## Every score

- mongodb: CVSS:4.0 5.3 Medium `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`
- mongodb: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N`
- GitHub: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N`
- GitHub: CVSS:4.0 Medium `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`
- PyPA Advisory Database: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N`
- PyPA Advisory Database: CVSS:4.0 `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`

## References

- <https://github.com/mongodb/mongo-python-driver/security/advisories/GHSA-qx36-8mw2-4r3x> (web)
- <https://github.com/mongodb/mongo-python-driver/releases/tag/4.18.2> (web)
- <https://github.com/mongodb/mongo-python-driver/blob/4.18.2/doc/changelog.rst> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-96747> (advisory)
- <https://github.com/mongodb/mongo-python-driver/pull/3066> (web)
- <https://github.com/mongodb/mongo-python-driver/commit/44119d0f9dfa0224d84b03be702a6d9a5ef1dea7> (web)
- <https://github.com/mongodb/mongo-python-driver/commit/640dd2383a1a2fb1a10e5222d50ebc0b22a61bd7> (web)
- <https://github.com/mongodb/mongo-python-driver> (package)
- <https://www.mongodb.com/community/forums/t/pymongo-4-18-2-released/343732> (web)
- <https://pypi.org/project/pymongo> (package)
- <https://github.com/advisories/GHSA-qx36-8mw2-4r3x> (advisory)

## Sources

- CVE List: [CVE-2026-96747](https://www.cve.org/CVERecord?id=CVE-2026-96747), CVE Terms of Use, modified 2026-09-24
- GitHub Advisory Database: [GHSA-qx36-8mw2-4r3x](https://github.com/advisories/GHSA-qx36-8mw2-4r3x), CC-BY-4.0, modified 2026-10-15
- NVD: [CVE-2026-96747](https://nvd.nist.gov/vuln/detail/CVE-2026-96747), Public domain, modified 2026-09-24
- PyPA Advisory Database: [PYSEC-2026-4295](https://osv.dev/vulnerability/PYSEC-2026-4295), CC-BY-4.0, modified 2026-10-15

---

Page: https://cve.day/CVE-2026-96747 · Whole record: https://cve.day/CVE-2026-96747.json · Rebuilt by cve.day 2026-11-25T22:59:40.899Z
