THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-8fvv-fgr5-f8ch (medium) — pymongo: PYTHON-5994 Use exact match for file ID in GridFS delete methods

[GHSA] GHSA-8fvv-fgr5-f8ch (medium) — pymongo: PYTHON-5994 Use exact match for file ID in GridFS delete methods

medgithub_advisoriesPublished 2026-10-05

GHSA-8fvv-fgr5-f8ch Severity: medium CVE: CVE-2026-88029

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

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

##

Indicators of compromise

Original source: https://github.com/advisories/GHSA-8fvv-fgr5-f8ch