cve.bz

CVE-2026-96747 mongodb python driver: SSRF

5.3 mediumEPSS 0.2%Fix available

Medium (5.3) in mongodb python driver. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in pymongo 4.18.2.

On this page
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.

Severity

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

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
EPSS
0.2% (unchanged from 0.2% a week ago; 0.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 9th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-09-24. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-918 Server-Side Request Forgery (SSRF)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-96747 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-96747?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-96747?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-96747 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
MongoDB Python Driverfrom 3.9.0 before 4.18.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-qx36-8mw2-4r3xPyPIpymongo>=3.9.0 <4.18.24.18.2
PYSEC-2026-4295PyPIpymongo>=3.9.0 <4.18.24.18.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13pymongono fix listedDEBIAN-CVE-2026-96747
Debian14pymongo4.18.2-1DEBIAN-CVE-2026-96747
Ubuntu14.04:LTS, 20.04:LTS, 22.04:LTS and 5 morepymongono fix listedUBUNTU-CVE-2026-96747
SUSELinux Enterprise Module for Package Hub 15 SP7python-pymongo3.11.0-150300.3.6.1SUSE-SU-2026:4398-1
openSUSELeap 16.0python-pymongo4.6.3-bp160.2.1openSUSE-SU-2026:22003-1
openSUSETumbleweedpython-pymongo4.18.2-1.1openSUSE-SU-2026:11935-1
Azure Linux3python-pymongono fix listedAZL-105113

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated as Moderate severity because an attacker requires existing write privileges to alter database key management metadata, and the operational blast radius is constrained by the inability to inject arbitrary payloads. In standard Red Hat product deployments, applications leveraging pymongo do not enable client-side field-level encryption by default, significantly limiting exposure. Additionally, initiated connections to local Unix sockets transmit only initial TLS handshake frames, preventing arbitrary command execution or arbitrary payload transmission to local services.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat OpenShift AI (RHOAI)rhoai/odh-llama-stack-core-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-ogx-core-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-pipeline-runtime-datascience-cpu-py312-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-pipeline-runtime-pytorch-rocm-py312-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-workbench-jupyter-datascience-cpu-py312-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-workbench-jupyter-pytorch-cuda-py312-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-workbench-jupyter-pytorch-rocm-py312-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9Fix deferred
Red Hat OpenShift AI (RHOAI)rhoai/odh-workbench-jupyter-trustyai-cpu-py312-rhel9Fix deferred
Red Hat OpenStack Platform 13 (Queens)python-pymongoOut of support scope
Red Hat OpenStack Platform 16.2rhosp-rhel8/openstack-horizonOut of support scope
Red Hat OpenStack Platform 16.2rhosp-rhel8/openstack-zaqar-wsgiOut of support scope
Red Hat OpenStack Platform 17.1python-pymongoOut of support scope
Red Hat OpenStack Platform 17.1rhosp-rhel9/openstack-horizonOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-96747.

Attack patterns (CAPEC)

  • CAPEC-664 Server Side Request Forgery Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON