Forced local Unix socket connection via dot-sock KMS endpoint in client-side field encryption
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · None
- Fix status
- Partial Red Hat: 4 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| MongoDB | Python Driver | 3.9.0 to before 4.18.2 | 4.18.2 | Patch available | CNA |
| — | pymongo (PyPI) | 3.9.0 to before 4.18.2 | 4.18.2 | Patch available | GHSA-qx36-8mw2-4r3x |
- Python Driver VendorMongoDB Affected 3.9.0 to before 4.18.2 Fixed in 4.18.2 Patch available CNA
- pymongo (PyPI) Vendor— Affected 3.9.0 to before 4.18.2 Fixed in 4.18.2 Patch available GHSA-qx36-8mw2-4r3x
Remediation
- Fix · CNA Python Driver (MongoDB) Fixed in 4.18.2
- Fix · GHSA-qx36-8mw2-4r3x pymongo (PyPI) Fixed in 4.18.2 Advisory →
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
MongoDB Python Driver 4.18.2
3 records Highest priority Priority LOW 3 LOW
Other records, highest priority first
- TI-2026-63845 Connection redirection via percent-encoded delimiter injection in connection string hostsPriority LOW 36
- TI-2026-63846 Heap out-of-bounds write via signed size overflow in BSON document encodingPriority LOW 34
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat OpenShift AI (RHOAI) | Affected | No fix yet: Fix deferred |
| Red Hat OpenStack Platform 13 (Queens) | Affected | No fix planned: Out of support scope |
| Red Hat OpenStack Platform 16.2 | Affected | No fix planned: Out of support scope |
| Red Hat OpenStack Platform 17.1 | Affected | No fix planned: Out of support scope |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-96747
- 2026-10-06 Alias added: GHSA-qx36-8mw2-4r3x
- 2026-10-06 Fix available: PyPI/[email protected] · GHSA-qx36-8mw2-4r3x
- 2026-10-06 CVSS score added · GHSA-qx36-8mw2-4r3x
- 2026-10-06 Weakness changed · GHSA-qx36-8mw2-4r3x
- 2026-10-06 9 new references · GHSA-qx36-8mw2-4r3x
References
Other 8
- https://github.com/mongodb/mongo-python-driver/security/advisories/GHSA-qx36-8mw2-4r3x
- https://github.com/mongodb/mongo-python-driver/releases/tag/4.18.2
- https://github.com/mongodb/mongo-python-driver/blob/4.18.2/doc/changelog.rst
- 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://www.mongodb.com/community/forums/t/pymongo-4-18-2-released/343732
More MongoDB vulnerabilities
- TI-2019-08023 Code injection in mongo-express KEVCVSS 3.1CRITICAL 9.9
- TI-2025-13542 Zlib compressed protocol header length confusion may allow memory read KEVCVSS 4.0HIGH 8.7
- TI-2026-79432 BSON output corruption via out-of-range binary subtype in MongoDB C# Driver CVSS 4.0MEDIUM 6.9
- TI-2026-79424 NoSQL command injection via mismatched BSON length in MongoDB C# Driver CVSS 4.0MEDIUM 6.9
- TI-2026-79422 Unbounded memory growth in MongoDB C# Driver BSON deserialization CVSS 4.0HIGH 8.2
- TI-2026-79427 Authentication bypass via issuer-and-serial-only certificate equality CVSS 4.0HIGH 7.6
Sources
- CVE-2026-96747 · CVE Program
- CVE-2026-96747 · NVD
- FIRST EPSS
- GHSA-qx36-8mw2-4r3x · GitHub Advisory Database · CC BY 4.0
- CVE-2026-96747 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences