CISA list

● PyPI package

pymongo

Pymongo has seven security advisories. The newest release any of them names as the fix is 4.18.3.

As of , pymongo has seven security advisories. The newest release any of them names as the fix is 4.18.3.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
If you runUpgrade toAdvisories
Before 4.18.34.18.37 advisories

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2026-106435GHSA-98qm-wvgf-w4cfMongoDB Python Driver: Out-of-bounds read in BSON decoding via a malformed Regex elementHigh severityFrom 3.9.0 before 4.18.34.18.3
CVE-2026-96749GHSA-v4x9-3549-crwv, PYSEC-2026-4296PyMongo: PYTHON-5996 Heap out-of-bounds write via signed size overflow in BSON document encodingHigh severityBefore 4.18.24.18.2
CVE-2026-96748GHSA-vp6j-j7w5-5xjj, PYSEC-2026-4297PyMongo: PYTHON-5986 Host injection in PyMongo connection string parsing via percent-encoded delimitersHigh severityFrom 3.5.0 before 4.18.24.18.2
CVE-2026-96747GHSA-qx36-8mw2-4r3x, PYSEC-2026-4295PyMongo: PYTHON-5990 Forced Unix domain socket connection via a .sock KMS endpoint in client-side field level encryptionModerate severityFrom 3.9.0 before 4.18.24.18.2
CVE-2026-88029GHSA-8fvv-fgr5-f8ch, PYSEC-2026-4294pymongo: PYTHON-5994 Use exact match for file ID in GridFS delete methodsModerate severityBefore 4.18.14.18.1
CVE-2024-5629GHSA-m87m-mmvp-v9qm, PYSEC-2026-1826PyMongo Out-of-bounds Read in the bson moduleModerate severityBefore 4.6.34.6.3
CVE-2013-2132GHSA-x33v-f3gp-gw2c, PYSEC-2013-30Use of NullPointerException Catch to Detect NULL Pointer Dereference in PymongoModerate severityBefore 2.5.22.5.2

Other PyPI packages

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0
  • Package advisories from the PyPA advisory database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0