~ / search / GHSA-8fvv-fgr5-f8ch

GHSA-8fvv-fgr5-f8ch

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

Source: GitHub Advisory Database (reviewed) Moderate CVE-2026-88029

Packages

EcosystemPackageAffectedFixed in
PyPI pymongo < 4.18.1 4.18.1

Details

As written in the advisory (Markdown source, shown as plain text).

### 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

External links from the advisory. They lead to third-party sites.