CVE-2026-88029
MEDIUM 6.1CVSS 4.0pymongo: PYTHON-5994 Use exact match for file ID in GridFS delete methods
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.
- Published
- 10 Sep 2026
- Last modified
- 15 Oct 2026
- Assigned by
- cna@mongodb.com
- NVD status
- Analyzed
- Weakness
- CWE-943
- Also known as
- GHSA-8fvv-fgr5-f8chPYSEC-2026-4294
- Sources
- NVDJSONOSV GHSA-8fvv-fgr5-f8chJSONOSV PYSEC-2026-4294JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cna@mongodb.com (Secondary) | CVSS 4.0 | MEDIUM 6.1 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | 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 | |
| OSV | PyPA | 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 | |
| NVD | cna@mongodb.com (Secondary) | CVSS 3.1 | HIGH 8.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mongodb | python_drivercpe:2.3:a:mongodb:python_driver:*:*:*:*:*:mongodb:*:* |
>= 1.6, < 4.18.1 | 4.18.1 |
| OSV | PyPI | pymongo | < 4.18.1 | 4.18.1 |
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
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 10 Sep 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 15 Oct 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 5 Oct 2026)