# CVE-2026-119673: mongofiles may write outside the working directory through a symlink

- Priority: **Routine**
- Reason: Not severe (CVSS 1, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-03 · Modified: 2026-11-03
- Aliases: UBUNTU-CVE-2026-119673
- Record: https://cvemate.com/vulnerability/CVE-2026-119673 · JSON: https://cvemate.com/vulnerability/CVE-2026-119673/json

## Description

```text
MongoDB Database Tools mongofiles does not resolve existing parent-directory symlinks when validating output paths for get_regex. An unauthorized user who can both upload a GridFS file and place a symlink in the operator's download working directory can cause a later retrieval to create a file containing unauthorized user-controlled data outside that directory, using the operator process's filesystem permissions. The issue can occur with default traversal and overwrite settings. Exploitation requires an operator to retrieve matching files from the affected working directory; the demonstrated default behavior creates a new file rather than overwriting an existing file. This issue affects MongoDB Database Tools versions 100.2.0 through versions before 100.20.1.
```

## Signals

- CVSS: 2.8 low (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N
- EPSS: 0.147%, percentile 4.091%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- ubuntu mongo-tools (Ubuntu): All versions (No fix recorded)
- mongodb database tools: ≥ 100.2.0, \< 100.20.1

## References

- <https://github.com/mongodb/mongo-tools/blob/master/CHANGELOG.md>
- <https://ubuntu.com/security/CVE-2026-119673>
- <https://www.cve.org/CVERecord?id=CVE-2026-119673>

---

Data as of 2026-12-05T04:21:09.531Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
