CVE-2026-119673
published low CVSS 4.0 · 1.0mongofiles may write outside the working directory through a symlink
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MongoDB | — | Database Tools100.2.0 to < 100.20.1 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 1.0 / 10
- Severity
- low
- Provider
- mongodb · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 2.8 | low | mongodb · cna | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MongoDB | Database Tools | 100.2.0 to < 100.20.1 (affected · semver)Default: unaffected | mongodb · cna |
Weaknesses
1- CWE-59 CWE-59: Improper Link Resolution Before File Access (Link Following)
References
1Provider assertions
2mongodb · cna
mongofiles may write outside the working directory through a symlink
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a4c63eae988adc7ac3d57725f18ab14f0e4d3ad61957dd9bef0ba3f27d0ae336
- Ingested
- 03 Nov 2026, 17:50:31 UTC
- Source record
- Official CVE record