Skip to main content
VulnerabilityPublished Updated

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

Affects mongo-orchestrationSource GCVE Database

0
Compare
Authoritative record:CVE-2026-96748· High 8.3

Not known to be exploited · CVSS 8.3 High : upgrade to 0.11.2_4 soon.

Data as of 30 Oct 2026, 06:59 UTC

CVSS 4.0 base score
8.3High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 29% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.11.2_4
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 24 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade mongo-orchestration to 0.11.2_4.

Affected software

ProductAffectedFixed in
Homebrewmongo-orchestrationpkg:brew/mongo-orchestrationOther threatsAffected
  • >=0.6.11 <0.11.2_4
Fixed in
  • 0.11.2_4

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available in PyMongo version 0.11.2_4 that fixes the issue by restricting percent-decoding to Unix domain socket paths only after splitting hosts. Users should upgrade to this fixed version. Additionally, applications should avoid interpolating untrusted input into the host portion of MongoDB connection strings. If unavoidable, input should be percent-decoded and validated before constructing the URI to prevent injection of additional hosts.

Description

PyMongo versions prior to 0.11.2_4 improperly percent-decoded the entire host section of MongoDB connection strings before splitting hosts, allowing percent-encoded delimiters (%2C for comma, %3A for colon) to inject additional attacker-controlled hosts. This could cause the client to connect to malicious servers, potentially exposing credentials or routing operations to attacker hosts. The issue is fixed in PyMongo 0.11.2_4 by restricting percent-decoding to Unix domain socket paths only after splitting hosts. Applications should avoid interpolating untrusted input into the host portion of connection strings or validate such input carefully.

References

Community reviews

Loading reviews…