Skip to content
CVE PROGRAM SOURCE RECORD8.3 High

CVE-2026-96748

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

MongoDB Python Driver

Default version status: unaffected

  • 0 to < 4.18.2affected

References