ADVISORIES

Debian Security Tracker

DEBIAN-CVE-2026-96748

Details

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 packages

EcosystemPackageAffected versions
Debian:12pymongo
All versions before 3.11.0-1+deb12u2 (fixed in 3.11.0-1+deb12u2)
Debian:13pymongo
All versions, no fix listed
Debian:14pymongo
All versions before 4.18.2-1 (fixed in 4.18.2-1)

References