ADVISORIES

Vulnerability

CVE-2026-96748

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.

51 advisories report this vulnerability, across 8 ecosystems.

Advisories in PyPI

  • GHSA-vp6j-j7w5-5xjj

    PyMongo: PYTHON-5986 Host injection in PyMongo connection string parsing via percent-encoded delimiters

    High CVE-2026-96748 PyPI Updated 15 October 2026
  • PYSEC-2026-4297

    PyMongo: PYTHON-5986 Host injection in PyMongo connection string parsing via percent-encoded delimiters

    CVE-2026-96748 PyPI Updated 15 October 2026

References