# CVE-2026-88029: GridFS data disclosure and deletion via query-operator injection in file IDs in the MongoDB Python Driver

- Severity: Medium 6.1 (CVSS:4.0, scored by mongodb) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 19% of CVEs (2026-12-01)
- Published: 2026-09-10T17:56:25.421Z
- Modified: 2026-10-15T14:55:35.220Z
- Also known as: GHSA-8fvv-fgr5-f8ch, PYSEC-2026-4294
- Weaknesses: CWE-943
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mongodb

## 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.

(As written by CVE List.)

## Affected

- MongoDB Python Driver: from 1.6.0 before 4.18.1
- pymongo (PyPI): before 4.18.1
- mongodb python_driver: from 1.6 before 4.18.1

## Every score

- mongodb: CVSS:4.0 6.1 Medium `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`
- mongodb: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H`
- GitHub: CVSS:4.0 Medium `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`
- PyPA Advisory Database: CVSS: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`

## References

- <https://jira.mongodb.org/browse/PYTHON-5994> (vendor-advisory)
- <https://github.com/mongodb/mongo-python-driver/security/advisories/GHSA-8fvv-fgr5-f8ch> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-88029> (advisory)
- <https://github.com/mongodb/mongo-python-driver/pull/3046> (web)
- <https://github.com/mongodb/mongo-python-driver/commit/3ef1c607859589a0086446ad6f557791a2813681> (web)
- <https://github.com/mongodb/mongo-python-driver/commit/fa676586ba4b399168a4d1d41c30dc2166cc44fd> (web)
- <https://github.com/mongodb/mongo-python-driver> (package)
- <https://github.com/mongodb/mongo-python-driver/releases/tag/4.18.1> (web)
- <https://jira.mongodb.org/browse/PYTHON-5992> (web)
- <https://pypi.org/project/pymongo> (package)
- <https://github.com/advisories/GHSA-8fvv-fgr5-f8ch> (advisory)

## Sources

- CVE List: [CVE-2026-88029](https://www.cve.org/CVERecord?id=CVE-2026-88029), CVE Terms of Use, modified 2026-09-10
- GitHub Advisory Database: [GHSA-8fvv-fgr5-f8ch](https://github.com/advisories/GHSA-8fvv-fgr5-f8ch), CC-BY-4.0, modified 2026-10-15
- NVD: [CVE-2026-88029](https://nvd.nist.gov/vuln/detail/CVE-2026-88029), Public domain, modified 2026-09-29
- PyPA Advisory Database: [PYSEC-2026-4294](https://osv.dev/vulnerability/PYSEC-2026-4294), CC-BY-4.0, modified 2026-10-15

---

Page: https://cve.day/CVE-2026-88029 · Whole record: https://cve.day/CVE-2026-88029.json · Rebuilt by cve.day 2026-11-25T22:59:37.884Z
