[ CVE-2026-88029 · Published 10 Sep 2026 ]

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

CVSS 8.3 EPSS <1%Fix available

[ Description ]Official description

Improper neutralization of special elements in data query logic in the GridFS component of the MongoDB Python Driver can cause a caller-supplied structured file identifier to be interpreted as a query condition rather than as a literal identifier. An authenticated user who can influence the identifier passed by an affected application may obtain stored file content beyond the intended target or cause all GridFS file chunks in the affected bucket to be removed, rendering stored file content unreadable. The affected rename operation may also rename a stored file other than the intended target.

[ Fixes ]Fixes and patches

  • pymongo 4.18.1Fixed version · GitHub Advisories · pip package pymongo: upgrade to 4.18.1 or later (affected <= 4.18.0)

[ Packages ]Affected open-source packages

[ References ]References