Skip to content

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

LowCVSS 1.0 EPSS 0.15%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Red Hat

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.

Upgrade path

2 packages: 1 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
redhat/rhceph/alloy-rhel10(Red Hat ceph_storage 9) All versions No fix listed No fix yet
MongoDB Database Tools >= 100.2.0, < 100.20.1 100.20.1 Fixed

Affected products

ProductAffected versionsFixed in
MongoDB Database Tools >= 100.2.0, < 100.20.1 100.20.1
redhat/rhceph/alloy-rhel10(Red Hat:ceph_storage:9) All versions No fix listed

References