CVE-2026-88029: CWE-943: Improper Neutralization of Special Elements in Data Query Logic in MongoDB Python Driver
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.
AI Analysis
Technical Summary
The vulnerability arises from improper neutralization of special elements in data query logic within the GridFS component of the MongoDB Python Driver. Specifically, a caller-supplied structured file identifier may be interpreted as a query condition rather than 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. Additionally, the affected rename operation may rename a stored file other than the intended target. The affected versions are from 1.6.0 up to but not including 4.18.1.
Potential Impact
An authenticated user with the ability to influence file identifiers can exploit this vulnerability to access unauthorized stored file content, delete all file chunks in a GridFS bucket, or rename files other than the intended target. This compromises data confidentiality and integrity within applications using the affected MongoDB Python Driver versions.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no patch links or official fixes are provided, users should monitor MongoDB's official advisories for updates. In the meantime, restrict authenticated user privileges to limit influence over file identifiers and validate or sanitize inputs used in GridFS operations to prevent injection of special query elements.
CVE-2026-88029: CWE-943: Improper Neutralization of Special Elements in Data Query Logic in MongoDB Python Driver
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.
CVSS v4.0
Score 6.1medium
Affected software
MongoDB
Python Driver
pkg:pypi/mongodb/mongo-python-driverRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises from improper neutralization of special elements in data query logic within the GridFS component of the MongoDB Python Driver. Specifically, a caller-supplied structured file identifier may be interpreted as a query condition rather than 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. Additionally, the affected rename operation may rename a stored file other than the intended target. The affected versions are from 1.6.0 up to but not including 4.18.1.
Potential Impact
An authenticated user with the ability to influence file identifiers can exploit this vulnerability to access unauthorized stored file content, delete all file chunks in a GridFS bucket, or rename files other than the intended target. This compromises data confidentiality and integrity within applications using the affected MongoDB Python Driver versions.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no patch links or official fixes are provided, users should monitor MongoDB's official advisories for updates. In the meantime, restrict authenticated user privileges to limit influence over file identifiers and validate or sanitize inputs used in GridFS operations to prevent injection of special query elements.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mongodb
- Date Reserved
- 2026-09-09T19:49:39.183Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6aa2f19e4383f50f43af614d
Added to database: 09/10/2026, 18:06:22 UTC
Last enriched: 09/10/2026, 18:21:37 UTC
Last updated: 09/10/2026, 19:46:15 UTC
Views: 13
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.