CVE-2026-88029 ยท GHSA-8fvv-fgr5-f8ch
pymongo: PYTHON-5994 Use exact match for file ID in GridFS delete methods
- Risk score
- 50/100
- CVSS
- 6.1 v4.0
- Exploit chance (30 days)
- 0.3%
- Published
- 5 Oct 2026
Open in the live forecast Today's forecast
What to know
- What it is
- 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. Patch available in pymongo >= 4.18.1 Ensure your existing workflow _only_ supports exact matching on the GridFS API.
- Affected
- pymongo (pip) <= 4.18.0
- Fix
- Upgrade pymongo to 4.18.1 or later.
- Exploitation
- No known exploitation
Why it is Yellow
- CVSS 6.1 medium
- On your watchlist: python, PyPI
Affected packages
| Package | Ecosystem | Vulnerable | Fixed in |
|---|---|---|---|
| pymongo | pip | <= 4.18.0 | 4.18.1 |
References
- https://github.com/advisories/GHSA-8fvv-fgr5-f8ch
- https://github.com/mongodb/mongo-python-driver/security/advisories/GHSA-8fvv-fgr5-f8ch
- https://nvd.nist.gov/vuln/detail/CVE-2026-88029
- https://github.com/mongodb/mongo-python-driver/pull/3046
- https://github.com/mongodb/mongo-python-driver/commit/3ef1c607859589a0086446ad6f557791a2813681
- https://github.com/mongodb/mongo-python-driver/commit/fa676586ba4b399168a4d1d41c30dc2166cc44fd
- https://github.com/mongodb/mongo-python-driver/releases/tag/4.18.1
- https://jira.mongodb.org/browse/PYTHON-5992
- https://github.com/advisories/GHSA-8fvv-fgr5-f8ch
Original description
### 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.
Last activity 5 Oct 2026. Patch Forecast updates every hour.