MongoDB Database Tools mongofiles does not resolve existing parent-directory symlinks when...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| MongoDBDatabase Tools |
≥ 100.2.0, < 100.20.1→ 100.20.1 |
100.20.1 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Ubuntu UBUNTU-CVE-2026-119673 mongo-tools No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- REDHAT Red Hat
- web cna@mongodb.com
- web nvd.nist.gov
- web github.com