cve.bz

CVE-2026-96748 mongodb python driver

8.3 highEPSS 0.4%Fix available

High (8.3) in mongodb python driver. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in pymongo 4.18.2.

On this page
PyMongo's connection string parsing decodes percent-encoded characters in the host portion before the host list is separated on its delimiters. When an application places a hostname value supplied by an unauthenticated party into a connection string, that party may cause additional servers of their choosing to be added to the application's database client. The application may then send its authentication exchange and database operations to one of those servers, which can observe limited information and return altered results.

Severity

CVSS 4.0

8.3 high
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 30th 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-177 Improper Handling of URL Encoding (Hex Encoding)
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-96748 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-96748?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-96748?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-96748 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 Driverbefore 4.18.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-vp6j-j7w5-5xjjPyPIpymongo>=3.5.0 <4.18.24.18.2
PYSEC-2026-4297PyPIpymongo>=3.5.0 <4.18.24.18.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13pymongono fix listedDEBIAN-CVE-2026-96748
Debian14pymongo4.18.2-1DEBIAN-CVE-2026-96748
Ubuntu14.04:LTS, 20.04:LTS, 22.04:LTS and 5 morepymongono fix listedUBUNTU-CVE-2026-96748
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-105107

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 impact because successful exploitation depends on an atypical application design that incorporates unvalidated user-supplied parameters into database connection strings. In supported Red Hat offerings, including Red Hat OpenShift AI and Red Hat OpenStack Platform, database endpoints are statically defined in administrative settings rather than constructed from external input. Consequently, typical deployments are not exposed to unauthorized endpoint injection or query redirection under default conditions.

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

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-72 URL Encoding Likelihood: High · Severity: High
  • CAPEC-120 Double Encoding Likelihood: Low · Severity: Medium
  • CAPEC-468 Generic Cross-Browser Cross-Domain Theft Severity: Medium

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

References

Check your stackJSON