GHSA-8h2c-ghff-mpg9: Duplicate Advisory: pymongo: PYTHON-5994 Use exact match for file ID in GridFS delete methods
This advisory was withdrawn on Oct 5, 2026. The publisher no longer considers it a valid vulnerability.
Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-8fvv-fgr5-f8ch. This link is maintained to preserve external references. Original Description Improper neutralization of special elements in data query logic in the GridFS component of the MongoDB Python Driver can cause a caller-supplied structured file identifier to be interpreted as a query condition rather than as a literal…
Published Sep 10, 2026 · Updated Oct 5, 2026
Affected packages
pymongo
- Ecosystem
- PyPI
- Affected
- <= 4.18.0
- Fixed in
- No patched version yet
- Check
pip show pymongo
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-8fvv-fgr5-f8ch. This link is maintained to preserve external references.
Original Description
Improper neutralization of special elements in data query logic in the GridFS component of the MongoDB Python Driver can cause a caller-supplied structured file identifier to be interpreted as a query condition rather than as a literal identifier. An authenticated user who can influence the identifier passed by an affected application may obtain stored file content beyond the intended target or cause all GridFS file chunks in the affected bucket to be removed, rendering stored file content unreadable. The affected rename operation may also rename a stored file other than the intended target.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2026-106435
MongoDB Python Driver: Out-of-bounds read in BSON decoding via a malformed Regex element
high8.2Oct 27, 2026CVE-2026-88029
pymongo: PYTHON-5994 Use exact match for file ID in GridFS delete methods
medium6.1Oct 5, 2026CVE-2026-96747
PyMongo: PYTHON-5990 Forced Unix domain socket connection via a .sock KMS endpoint in client-side field level encryption
medium5.0Oct 5, 2026CVE-2026-96748
PyMongo: PYTHON-5986 Host injection in PyMongo connection string parsing via percent-encoded delimiters
high6.5Oct 5, 2026CVE-2026-96749
PyMongo: PYTHON-5996 Heap out-of-bounds write via signed size overflow in BSON document encoding
high8.4Oct 5, 2026CVE-2024-5629
PyMongo Out-of-bounds Read in the bson module
medium4.7Jun 5, 2024
