Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
PyMongo versions from 3.5.0 before 4.18.2 are vulnerable. The driver percent-decoded the whole host section of a connection string before splitting it into host and port entries, so a percent-encoded comma or colon in a hostname could add an extra attacker-chosen host to the seed list. An attacker who can influence untrusted input placed into a connection string could cause the client to contact their server, potentially exposing credentials. Upgrade to PyMongo 4.18.2. Do not put untrusted input into the host portion of a connection string.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 8.3 | High | 4.0 | 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 | CNA (mongodb) |
- CISA KEV Not listed.
- EPSS 0.0036, the 30th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:08 UTC First seen by agentprime
- 31 Oct 2026, 14:08 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-vp6j-j7w5-5xjj
- OSV: GHSA-vp6j-j7w5-5xjj
- github.com/mongodb/mongo-python-driver/security/advisories/GHSA-vp6j-j7w5-5xjj
- nvd.nist.gov/vuln/detail/CVE-2026-96748
- github.com/mongodb/mongo-python-driver/pull/3066
- github.com/mongodb/mongo-python-driver/commit/1e7a56db4649b14c4c9a6ac20aa4a8d0d1bb238a
- github.com/mongodb/mongo-python-driver/commit/640dd2383a1a2fb1a10e5222d50ebc0b22a61bd7
- github.com/mongodb/mongo-python-driver
- github.com/mongodb/mongo-python-driver/blob/4.18.2/doc/changelog.rst
- github.com/mongodb/mongo-python-driver/releases/tag/4.18.2
- www.mongodb.com/community/forums/t/pymongo-4-18-2-released/343732