Junglewise Threat Intelligence

CVE-2026-88036: MongoDB C Driver GridFS improper query construction

CVE-2026-88036 · Severity: high · CVSS 8.3 · Published 2026-09-10

Technologies: MongoDB C Driver. Vendors: MongoDB.

Executive brief

The MongoDB C Driver's GridFS component incorrectly constructs database queries when processing file identifiers, allowing authenticated users to manipulate these identifiers to access unintended files or delete data. An attacker with the ability to control file identifiers in an application could read stored files beyond their intended access or remove file chunks from storage, rendering data inaccessible.

Technical details

The vulnerability is an improper neutralization of special elements in query logic (CWE-89 equivalent) within the GridFS component of the MongoDB C Driver. When user-supplied file identifiers are passed to database commands, they are not properly escaped or wrapped with exact-match operators (such as $eq), allowing them to be interpreted as query conditions rather than literal values. An authenticated attacker who can influence file identifiers used by an affected application may retrieve files beyond the intended target or execute delete operations on all GridFS chunks in a bucket. Patches are available in versions 1.30.10 and 2.5.3.

Affected products

  • MongoDB C Driver before 1.30.10 and before 2.5.3

Timeline

  • 2026-09-10: disclosed: CVE-2026-88036 published
  • 2026-09-10: patched: Patches released in versions 1.30.10 and 2.5.3

References

Related threats