THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-qx36-8mw2-4r3x (medium) — PyMongo: PYTHON-5990 Forced Unix domain socket connection via a .sock KMS endpoint in client-side field level encryption

[GHSA] GHSA-qx36-8mw2-4r3x (medium) — PyMongo: PYTHON-5990 Forced Unix domain socket connection via a .sock KMS endpoint in client-side field level encryption

medgithub_advisoriesPublished 2026-10-05

GHSA-qx36-8mw2-4r3x Severity: medium CVE: CVE-2026-96747

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

### Summary

PyMongo passed the KMS endpoint of a data key verbatim into `parse_host()`, which returns any string ending in `.sock` unchanged instead of validating it as a hostname and port. The driver's connection code

Indicators of compromise

Original source: https://github.com/advisories/GHSA-qx36-8mw2-4r3x