CVE-2026-96748

published 24 Sep 2026 · updated 24 Sep 2026

Connection redirection via percent-encoded delimiter injection in connection string hosts

6.5MediumCVSS 6.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Python Driver 4.18.2.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MongoDBPython Driver<4.18.24.18.2

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in MongoDB, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-96748 severity on Zeptric[![CVE-2026-96748](https://zeptric.io/badge/cve/CVE-2026-96748.svg)](https://zeptric.io/cve/CVE-2026-96748)