pymongo

PyMongo - the Official MongoDB Python driver

4.20.2Latest, 25 Nov 2026
77MDownloads, last month
0Advisories on the latest
13Advisories, all versions
Apache-2.0Licence
4.4KStars
6.6/10OpenSSF Scorecard

Known advisories

Severity Advisory Fix Published
High MongoDB Python Driver: Out-of-bounds read in BSON decoding via a malformed Regex element CVE-2026-106435 Fixed in 4.18.3 27 Oct 2026
pymongo: PYTHON-5994 Use exact match for file ID in GridFS delete methods CVE-2026-88029 Fixed in 4.18.1 15 Oct 2026
PyMongo: PYTHON-5990 Forced Unix domain socket connection via a .sock KMS endpoint in client-side field level encryption CVE-2026-96747 Fixed in 4.18.2 15 Oct 2026
PyMongo: PYTHON-5996 Heap out-of-bounds write via signed size overflow in BSON document encoding CVE-2026-96749 Fixed in 4.18.2 15 Oct 2026
PyMongo: PYTHON-5986 Host injection in PyMongo connection string parsing via percent-encoded delimiters CVE-2026-96748 Fixed in 4.18.2 15 Oct 2026
Moderate pymongo: PYTHON-5994 Use exact match for file ID in GridFS delete methods CVE-2026-88029 Fixed in 4.18.1 5 Oct 2026
Moderate PyMongo: PYTHON-5990 Forced Unix domain socket connection via a .sock KMS endpoint in client-side field level encryption CVE-2026-96747 Fixed in 4.18.2 5 Oct 2026
High PyMongo: PYTHON-5996 Heap out-of-bounds write via signed size overflow in BSON document encoding CVE-2026-96749 Fixed in 4.18.2 5 Oct 2026
High PyMongo: PYTHON-5986 Host injection in PyMongo connection string parsing via percent-encoded delimiters CVE-2026-96748 Fixed in 4.18.2 5 Oct 2026
PyMongo Out-of-bounds Read in the bson module CVE-2024-5629 Fixed in 4.6.3 7 Jul 2026
Moderate PyMongo Out-of-bounds Read in the bson module CVE-2024-5629 Fixed in 4.6.3 5 Jun 2024
Moderate Use of NullPointerException Catch to Detect NULL Pointer Dereference in Pymongo CVE-2013-2132 Fixed in 2.5.2 14 May 2022
PYSEC-2013-30 CVE-2013-2132 Fixed in 2.5.2 15 Aug 2013

In the news

Sources: PyPI, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.