THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-vp6j-j7w5-5xjj (high) — PyMongo: PYTHON-5986 Host injection in PyMongo connection string parsing via percent-encoded delimiters

[GHSA] GHSA-vp6j-j7w5-5xjj (high) — PyMongo: PYTHON-5986 Host injection in PyMongo connection string parsing via percent-encoded delimiters

medgithub_advisoriesPublished 2026-10-05

GHSA-vp6j-j7w5-5xjj Severity: high CVE: CVE-2026-96748

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

### Summary

PyMongo percent-decoded the entire host section of a connection string before splitting it into individual `host:port` entries. A percent-encoded `,` or `:` in a hostname therefore decoded into a real delimiter, injecting an a

MITRE ATT&CK techniques

Indicators of compromise

Original source: https://github.com/advisories/GHSA-vp6j-j7w5-5xjj