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

- Severity: Low 1.0 (CVSS:4.0, scored by mongodb) `CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-11-03T16:14:23.559Z
- Modified: 2026-11-03T20:00:56.300Z
- Weaknesses: CWE-59
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mongodb

## Description

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.

(As written by CVE List.)

## Affected

- MongoDB Database Tools: from 100.2.0 before 100.20.1

## Every score

- mongodb: CVSS:4.0 1.0 Low `CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- mongodb: CVSS:3.1 2.8 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N`

## References

- <https://github.com/mongodb/mongo-tools/blob/master/CHANGELOG.md>

## Sources

- CVE List: [CVE-2026-119673](https://www.cve.org/CVERecord?id=CVE-2026-119673), CVE Terms of Use, modified 2026-11-03
- NVD: [CVE-2026-119673](https://nvd.nist.gov/vuln/detail/CVE-2026-119673), Public domain, modified 2026-11-03

---

Page: https://cve.day/CVE-2026-119673 · Whole record: https://cve.day/CVE-2026-119673.json · Rebuilt by cve.day 2026-11-25T22:59:48.547Z
