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.
Affected software
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Package Hub 15
openSUSE Leap
python3-pymongo
python2-pymongo-debuginfo
python2-pymongo
python-pymongo-debugsource
python-pymongo-debuginfo
python3-pymongo-debuginfo
How to mitigate CVE-2026-96748
python3-pymongo - update to 3.11.0-150300.3.6.1
python2-pymongo-debuginfo - update to 3.11.0-150300.3.6.1
python2-pymongo - update to 3.11.0-150300.3.6.1
python-pymongo-debugsource - update to 3.11.0-150300.3.6.1
python-pymongo-debuginfo - update to 3.11.0-150300.3.6.1
python3-pymongo-debuginfo - update to 3.11.0-150300.3.6.1