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.
Published: 2026-11-03
Score: 1 Low
EPSS: n/a
KEV: No
Impact: Write outside working directory via symlink
Action: Upgrade
AI Analysis

Impact

mongofiles fails to resolve existing parent‑directory symlinks when validating output paths for get_regex, a flaw classified as CWE‑59. An attacker who can upload a GridFS file and place a symlink in the operator's download working directory can cause the operator process to create a new file containing user‑controlled data outside that directory. The operator process then writes the file using its own filesystem permissions, which may result in unauthorized data creation or modification, potentially exposing sensitive data or corrupting system files.

Affected Systems

The vulnerability affects MongoDB Database Tools. Versions from 100.2.0 up to, but not including, 100.20.1 are impacted. Users of these releases should verify the installed version against the stated range.

Risk and Exploitability

The CVSS score is 1, indicating a very low severity rating. EPSS is not available and the flaw is not listed in the CISA KEV catalog. Exploitation requires an attacker who can upload files to GridFS on the same host as the operator and place a symlink in the download working directory; it then relies on the operator to retrieve matching files. This attack vector is local, but it could allow an attacker to create arbitrary files with the operator’s filesystem permissions, posing a potential integrity risk to the host.

Generated by OpenCVE AI on November 3, 2026 at 17:50 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade MongoDB Database Tools to version 100.20.1 or later to resolve the symlink resolution issue.
  • Limit GridFS upload privileges so that only trusted users can add files to the operator’s download working directory; this prevents an attacker from placing a malicious symlink.
  • Remove any symbolic links from the operator’s download working directory or configure the environment to disallow symlink creation in that location.

Generated by OpenCVE AI on November 3, 2026 at 17:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 03 Nov 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 03 Nov 2026 16:30:00 +0000

Type Values Removed Values Added
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.
Title mongofiles may write outside the working directory through a symlink
Weaknesses CWE-59
References
Metrics cvssV3_1

{'score': 2.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N'}

cvssV4_0

{'score': 1, 'vector': '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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: mongodb

Published:

Updated: 2026-11-03T17:44:21.089Z

Reserved: 2026-10-30T14:07:57.894Z

Link: CVE-2026-119673

cve-icon Vulnrichment

Updated: 2026-11-03T17:44:16.827Z

cve-icon NVD

Status : Received

Published: 2026-11-03T17:18:06.803

Modified: 2026-11-03T18:17:56.017

Link: CVE-2026-119673

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-03T18:00:21Z

Weaknesses
  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')