Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. pymongo
  4. ›
  5. CVE-2026-88029

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

October 5, 2026

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.

References

  • github.com/advisories/GHSA-8fvv-fgr5-f8ch
  • github.com/mongodb/mongo-python-driver/commit/3ef1c607859589a0086446ad6f557791a2813681
  • github.com/mongodb/mongo-python-driver/commit/fa676586ba4b399168a4d1d41c30dc2166cc44fd
  • github.com/mongodb/mongo-python-driver/pull/3046
  • github.com/mongodb/mongo-python-driver/releases/tag/4.18.1
  • github.com/mongodb/mongo-python-driver/security/advisories/GHSA-8fvv-fgr5-f8ch
  • jira.mongodb.org/browse/PYTHON-5992
  • nvd.nist.gov/vuln/detail/CVE-2026-88029

Code Behaviors & Features

Detect and mitigate CVE-2026-88029 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 4.18.1

Fixed versions

  • 4.18.1

Solution

Upgrade to version 4.18.1 or above.

Impact 8.3 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-943: Improper Neutralization of Special Elements in Data Query Logic

Source file

pypi/pymongo/CVE-2026-88029.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:56 +0000.