Advisory record · GHSA-8fvv-fgr5-f8ch

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

CVSS 6.1 MediumEPSS 0.0027 · 18th percentile

Published by the GitHub Advisory Database at 5 Oct 2026, 23:27 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
pymongoPyPI<4.18.14.18.1
Identifiers
GHSA-8fvv-fgr5-f8ch · CVE-2026-88029 · PYSEC-2026-4294
Weakness (CWE)
CWE-943
Published
5 Oct 2026
Updated
15 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

pymongo versions before 4.18.1 are affected. Passing a hash instead of a GridFS file ID can make it act as query criteria that override the ID match, so reads, writes or deletes may affect other files. The source does not say what access an attacker needs. Upgrade to pymongo 4.18.1 or later, or until then, pass only exact IDs to GridFS.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.1 Medium 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N CNA (mongodb)
  • CISA KEV Not listed.
  • EPSS 0.0027, the 18th percentile, on 8 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:08 UTC First seen by agentprime
  2. 31 Oct 2026, 14:08 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.