pymongo
Affected
- introduced
0, fixed4.18.1(ecosystem)
Fixed versions
4.18.1
Fix
- Fixed version
4.18.1pip install --upgrade pymongo==4.18.1
Advisory
Also known as: CVE-2026-88029, PYSEC-2026-4294
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
Workarounds
Ensure your existing workflow _only_ supports exact matching on the GridFS API.
Medium Basis: The source's own band: MODERATE
0, fixed 4.18.1 (ecosystem)4.18.1
4.18.1pip install --upgrade pymongo==4.18.1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0