Vulnerability · Published Nov 3, 2026 · Assigned by mongodb
CVE-2026-119672mongofiles may disclose GridFS content to standard output through a stored filename
Medium 4.8
In plain English
A medium-severity security flaw in Database Tools from MongoDB. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 13% of all known vulnerabilities).
Official description
MongoDB Database Tools mongofiles uses a database-stored GridFS filename as the output destination for get_id when --local is not specified. A user who can modify the file metadata can set the stored filename to '-', causing a later authorized retrieval to write the file contents to standard output instead of a local file. If standard output is captured in a location accessible to that user, this may disclose GridFS content the user cannot read directly. Exploitation requires a higher-privileged operator to retrieve the affected file without an explicit local destination and attacker access to the captured output. This issue affects MongoDB Database Tools from version 3.1.4 through versions before 100.20.1.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| MongoDB | Database Tools | 3.1.4 – before 100.20.1 |
Weakness: CWE-73 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N