# PyMongo: PYTHON-5990 Forced Unix domain socket connection via a .sock KMS endpoint in client-side field level encryption

Advisory record · `GHSA-qx36-8mw2-4r3x`

- **Identifiers:** `GHSA-qx36-8mw2-4r3x` · `CVE-2026-96747` · `PYSEC-2026-4295`
- **State:** Confirmed
- **Severity:** CVSS 5.3 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-20](https://cwe.mitre.org/data/definitions/20.html) · [CWE-918](https://cwe.mitre.org/data/definitions/918.html)
- **Tags:** [Server-side request forgery (SSRF)](https://agentprime.io/advisories/tag/ssrf.md) · [CWE-20](https://agentprime.io/advisories/tag/cwe-20.md)
- **Published:** 5 Oct 2026
- **Updated:** 15 Oct 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 5 Oct 2026, 23:46 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `pymongo` (PyPI): affected `>=3.9.0, <4.18.2`; fixed in `4.18.2`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 5.3 Medium, 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`, from CNA (mongodb)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0019, the 8th percentile, on 6 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:08 UTC: First seen by agentprime
- 31 Oct 2026, 14:08 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-qx36-8mw2-4r3x)

## Sources

- [GitHub Advisory Database: GHSA-qx36-8mw2-4r3x](https://github.com/advisories/GHSA-qx36-8mw2-4r3x)
- [OSV: GHSA-qx36-8mw2-4r3x](https://osv.dev/vulnerability/GHSA-qx36-8mw2-4r3x)
- <https://github.com/mongodb/mongo-python-driver/security/advisories/GHSA-qx36-8mw2-4r3x>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-96747>
- <https://github.com/mongodb/mongo-python-driver/pull/3066>
- <https://github.com/mongodb/mongo-python-driver/commit/44119d0f9dfa0224d84b03be702a6d9a5ef1dea7>
- <https://github.com/mongodb/mongo-python-driver/commit/640dd2383a1a2fb1a10e5222d50ebc0b22a61bd7>
- <https://github.com/mongodb/mongo-python-driver>
- <https://github.com/mongodb/mongo-python-driver/blob/4.18.2/doc/changelog.rst>
- <https://github.com/mongodb/mongo-python-driver/releases/tag/4.18.2>
- <https://www.mongodb.com/community/forums/t/pymongo-4-18-2-released/343732>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-qx36-8mw2-4r3x>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-qx36-8mw2-4r3x/>. Everything for agents: <https://agentprime.io/llms.txt>.
