The CVSS 8.3 score for CVE-2026-88034 understates the actual risk because it treats this as a parsing bug when it's actually a fundamental inversion of the data/code boundary. GridFS's structured file identifiers—designed as opaque references—are being parsed as MongoDB query expressions. An attacker who can influence identifier values doesn't read the wrong file; they gain the full expressive power of the query language as an attack surface.
The authentication requirement in the CVSS is misleading. The vulnerability specifically notes an authenticated user can 'influence' the identifier, not directly provide it. This distinction matters: modern applications derive GridFS identifiers from database record IDs, processed filenames, content-addressed hashes, and other application-trusted sources. An attacker with authenticated access doesn't need to directly manipulate the database—they manipulate the provenance chain that generates identifiers upstream. This is a trust transfer attack that CVSS treats as a barrier but实际上是更广泛的攻击面.
Two outcomes are possible, and the worse one isn't the reading. The 'read beyond target' scenario uses query operators like $gt or $regex against the chunk collection to traverse or sample arbitrary documents. But mass deletion is more severe: an attacker injecting conditions into a deletion query can match all chunks in a bucket, destroying entire files. GridFS's chunking architecture means the file becomes unrecoverable, not just corrupted. Data destruction is harder to detect in real-time than unauthorized reads and has higher recovery costs.
The C++ driver is the attack vector—MongoDB's flagship bindings (Python, Node, Java) received NoSQL injection hardening circa 2015-2017, but the C++ driver was never refactored. The structured identifier format is likely a legacy artifact from when MongoDB's flexible schema was marketed as a feature rather than audited as a risk. That assumption was supposed to have been retired; this CVE is evidence it survived in forgotten code paths.
Check three things: whether your identifier generation logic uses any structured format that could encode query operators; whether file deletion operations construct conditions from identifiers without strict parameterization; and whether any application path treats authenticated-context data as inherently safe for identifier derivation. The fix requires more than input validation—it requires forcing a hard architectural separation between identifier lookup and query expression.