CVE-2026-96748MongoDB Python Driver
High 8.3 No auth needed
Follow: this CVE · MongoDB · MongoDB Python Driver We alert you by email or Slack (account required).
- Priority
- 65
- CVSS 4.0
- 8.3
- EPSS
- —
- Auth required
- No
- Published
- Sep 24, 2026
- Updated
- Sep 24, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-177
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for Python Driver.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | pymongo |
≥ 3.5.0 < 4.18.2 |
4.18.2 |
pip install "pymongo>=4.18.2" |
| PyPI | pymongo |
≥ 3.5.0 < 4.18.2 |
4.18.2 |
pip install "pymongo>=4.18.2" |
Per OSV / GitHub Advisories (GHSA-vp6j-j7w5-5xjj, PYSEC-2026-4297). Check the version in your lockfile before upgrading.
Affected products
- MongoDB · Python Driver
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- python313-pymongo-4.18.2-1.1 on GA media · SUSE · openSUSE-SU-2026:11935-1 · Sep 30, 2026 High
- Security update for python-pymongo · SUSE · openSUSE-SU-2026:22003-1 · Sep 29, 2026 High
- Security update for python-pymongo · SUSE · SUSE-SU-2026:4398-1 · Sep 29, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.