NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

CVE-2026-88029: pymongo: PYTHON-5994 Use exact match for file ID in GridFS delete methods

mediumCVSS 4.0 6.1GHSA-8fvv-fgr5-f8ch

Impact When reading/writing via an ID with the GridFS API, require an exact match on the given ID. Otherwise, if a Hash is given in place of the ID, it may be interpreted as criteria, overriding the ID match. Patches Patch available in pymongo = 4.18.1 Workarounds Ensure your existing workflow only supports exact matching on the GridFS API.

Published Oct 5, 2026

Affected packages

pymongo

Ecosystem
PyPI
Affected
<= 4.18.0
Fixed in
4.18.1
Check
pip show pymongo

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Impact

When reading/writing via an ID with the GridFS API, require an exact match on the given ID. Otherwise, if a Hash is given in place of the ID, it may be interpreted as criteria, overriding the ID match.

Patches

Patch available in pymongo >= 4.18.1

Workarounds

Ensure your existing workflow _only_ supports exact matching on the GridFS API.

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 entries