# CVE-2026-119672: mongofiles may disclose GridFS content to standard output through a stored filename

> CVE-2026-119672: mongofiles may disclose GridFS content to standard output through a stored filename. CVSS 4.8 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-119672
Last updated: 2026-11-03T20:00:56Z

- Published: 2026-11-03 16:09 UTC · Updated: 2026-11-03 20:00 UTC · Assigner: mongodb
- CVSS: 4.8 (CVSS 3.1) · Severity: Medium · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N
- EPSS: 0.23%, 13th percentile (scored 2026-11-04)
- CISA KEV: no
- CWE: CWE-73

## 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 vendors and products

- MongoDB: Database Tools

## Tracked companies

- [MongoDB Atlas](https://rewindex.com/company/mongodb-atlas.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-119672)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-119672)
- [https://github.com/mongodb/mongo-tools/blob/master/CHANGELOG.md](https://github.com/mongodb/mongo-tools/blob/master/CHANGELOG.md)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-119672 · Markdown: https://rewindex.com/cve/CVE-2026-119672.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-119672 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-11-05T15:28:15.665Z
