CVE-2026-96748
PyMongo's connection string parsing decodes percent-encoded …
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 now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/mongodb/mongo-python-driver/blob/4.18.2/doc/changelog.rst
- github.com/mongodb/mongo-python-driver/releases/tag/4.18.2
- 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
- www.mongodb.com/community/forums/t/pymongo-4-18-2-released/343732
- nvd.nist.gov/vuln/detail/CVE-2026-96748
- cve.org/CVERecord?id=CVE-2026-96748
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.