Improper Handling of URL Encoding (Hex Encoding) in mongo-python-driver - CVE-2026-96748
Published: September 24, 2026
Vulnerability details
The vulnerability allows a remote attacker to disclose credentials or route operations to an attacker-controlled server.
The vulnerability exists due to improper handling of URL encoding in PyMongo connection string host parsing when processing connection strings containing untrusted host input. A remote attacker can supply a hostname fragment containing percent-encoded delimiters to inject an attacker-controlled host and port into the client's seed list.
Unix domain socket paths are not affected.