CVE-2026-96748

Medium

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.

SeverityMedium
CVSS6.5
Exploit probability—
ProductPymongo
PublishedSep 24, 2026
First seenSep 24, 2026
Weakness typeCWE-177CWE-177

How to fix

Update
  • pymongo4.18.2 or later

Affected products

ProductAffected versionsFixed in
pymongoPyPI3.5.0 ≤ v < 4.18.24.18.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-96748 · Pymongo · Dark Radar