Medium severity6.5NVD Advisory· Published Sep 24, 2026· Updated Sep 24, 2026
CVE-2026-96748
CVE-2026-96748
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
pymongoPyPI | >= 3.5.0, < 4.18.2 | 4.18.2 |
Affected products
3- osv-coords2 versionspkg:rpm/opensuse/python-pymongo&distro=openSUSE%20Leap%2016.0pkg:rpm/opensuse/python-pymongo&distro=openSUSE%20Tumbleweed
< 4.6.3-bp160.2.1+ 1 more
- (no CPE)range: < 4.6.3-bp160.2.1
- (no CPE)range: < 4.18.2-1.1
Patches
Vulnerability mechanics
References
9- github.com/advisories/GHSA-vp6j-j7w5-5xjjghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-96748ghsaADVISORY
- github.com/mongodb/mongo-python-driver/blob/4.18.2/doc/changelog.rstnvdWEB
- github.com/mongodb/mongo-python-driver/commit/1e7a56db4649b14c4c9a6ac20aa4a8d0d1bb238aghsaWEB
- github.com/mongodb/mongo-python-driver/commit/640dd2383a1a2fb1a10e5222d50ebc0b22a61bd7ghsaWEB
- github.com/mongodb/mongo-python-driver/pull/3066ghsaWEB
- github.com/mongodb/mongo-python-driver/releases/tag/4.18.2nvdWEB
- github.com/mongodb/mongo-python-driver/security/advisories/GHSA-vp6j-j7w5-5xjjnvdWEB
- www.mongodb.com/community/forums/t/pymongo-4-18-2-released/343732ghsaWEB
News mentions
1- MongoDB: Seven Vulnerabilities Disclosed Across Drivers and Compass on Sep 24, 2026Vypr Intelligence · Sep 24, 2026