Connection String Parsing Vulnerability in PyMongo by MongoDB
CVE-2026-96748

8.3HIGH

Key Information:

Vendor

Mongodb

Vendor
CVE Published:
24 September 2026

What is CVE-2026-96748?

The PyMongo library exhibits a vulnerability due to improper handling of connection string parsing. Specifically, it decodes percent-encoded characters in the host portion prior to separating hosts based on delimiters. This can lead to scenarios where an application incorporates a hostname provided by an unauthenticated external actor, potentially allowing them to inject their own server addresses. Consequently, the application may interact with these malicious servers, risking exposure of authentication details and enabling possible delivery of tampered data in response to database queries.

Affected Version(s)

Python Driver 0 < 4.18.2

References

CVSS V4

Score:
8.3
Severity:
HIGH
Confidentiality:
Low
Integrity:
High
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.