CVE-2026-119672 PUBLISHED

mongofiles may disclose GridFS content to standard output through a stored filename

Assigner: mongodb
Reserved: 30.10.2026 Published: 03.11.2026 Updated: 03.11.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
CVSS Score: 5.9

Product Status

Vendor MongoDB
Product Database Tools
Versions Default: unaffected
  • affected from 3.1.4 to 100.20.1 (excl.)

References

Problem Types

  • CWE-73: External Control of File Name or Path CWE