Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege DB and local filesystem access
-
DeliveryUpload crafted GridFS file
-
ExploitPlant parent-directory symlink in operator download directory
-
ExecutionOperator runs mongofiles get_regex retrieval
-
ImpactWrite attacker-controlled file outside target directory
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Symlink resolution safety
|
| Exploitation Conditions | Exploitation requires all of the following concrete conditions: (1) the attacker can upload a GridFS file to the MongoDB instance; (2) the attacker can place a symlink in the operator's mongofiles download working directory; and (3) an operator subsequently runs a mongofiles get_regex retrieval that matches files in that affected working directory. The flaw works with the default traversal and overwrite settings, and the demonstrated default behavior creates a NEW file rather than overwriting an existing one. Limiting factors that reduce realistic risk: the attack vector is local (AV:L) and needs filesystem write access to the operator's working directory, it requires low-privilege access to upload the GridFS file (PR:L), and it cannot succeed without the operator performing the retrieval action (passive user interaction, UI:P). |
| Impact | All decision signals point to very low real-world risk. The vendor-assigned CVSS 4.0 vector (AV:L/AC:L/AT:P/PR:L/UI:P) with a base score of 1.0 reflects a local-only issue that requires a present attack condition, low-privilege access, and passive user interaction, with impact limited to VI:L (low integrity) and no confidentiality or availability effect. The vuln.today decision label is 'monitor' - the lowest urgency tier. No EPSS probability, no CISA KEV listing, and no proof-of-concept are present in the supplied data, so there is no evidence of exploitation interest. The only reference is the vendor CHANGELOG, not an exploit. The signals are internally consistent (low CVSS + monitor + no KEV/EPSS/POC all agree), so this is a genuinely low-priority, defense-in-depth hardening fix rather than a high-CVSS-but-overlooked threat. The only caveat is a metadata conflict: the description calls the actor an 'unauthorized user,' yet the CVSS vector encodes PR:L (some privilege), reflecting that the attacker still needs the ability to upload a GridFS file and write a symlink into the operator's working directory - verify the exact access model with MongoDB if that distinction matters to your environment. |
| Exploit ScenarioDerived | A low-privileged actor who can upload a GridFS file and place a symlink in the operator's mongofiles download working directory waits for an operator to run a get_regex retrieval. Because mongofiles does not resolve existing parent-directory symlinks when validating the output path, the retrieval follows the planted symlink and creates a file containing attacker-controlled data outside the intended directory, using the operator process's filesystem permissions. No public exploit identified at time of analysis; exploitation depends on operator action and local access to the working directory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 03, 2026
MongoDB Database Tools' mongofiles utility in versions 100.2.0 through before 100.20.1 can be induced to create a file outside the operator's download working directory when get_regex retrieves a GridFS object after an attacker plants a symlink in that directory. Exploitation requires low-privilege GridFS upload access, local write access to the operator's working directory, and the operator later running the matching retrieval; the demonstrated default behavior creates a new file rather than overwriting one. Impact is limited integrity loss under the operator's filesystem permissions, and no public exploit has been identified at time of analysis.
RemediationAI
Vendor-released patch: 100.20.1. Upgrade MongoDB Database Tools to 100.20.1 or later and consult the vendor changelog at https://github.com/mongodb/mongo-tools/blob/master/CHANGELOG.md for release details. Until the upgrade can be applied, reduce exposure by removing GridFS upload rights from untrusted users and by preventing those users from writing symlinks into any directory used as a mongofiles download working directory; run get_regex retrievals only in a dedicated directory whose write access is restricted to the operator and not shared with upload-capable users. These controls address the stated prerequisites but do not fix the path-resolution flaw, and restricting uploads or avoiding get_regex retrieval may break intended workflows.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CWE-59 (Improper Link Resolution Before File Access) applies to the mongofiles get_regex output-path handling in MongoDB Database Tools: existing parent-directory symlinks are not resolved during validation, so a later retrieval can follow a planted link and create a file outside the intended download directory using the operator process's permissions. The supplied CVSS 4.0 vector is 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, and the independent assessment maps the issue to CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:N. The trigger described in the sources requires an attacker who can upload a GridFS file, can place a symlink in the operator's mongofiles download working directory, and an operator who subsequently runs a matching get_regex retrieval; the default traversal and overwrite settings still result in a new file rather than an overwrite. The CPE cpe:2.3:a:mongodb:database_tools:*:*:*:*:*:*:*:* identifies the product family, while the advisory version range identifies the specific affected builds. The supplied tag 'Authentication Bypass' is not explained by the described mechanism, which is a link-following file-write issue rather than an authentication bypass.
Know when MongoDB gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Local symlink plant plus required operator retrieval and conditions beyond attacker control give AV:L/AC:H/UI:R; low-privilege GridFS upload is PR:L; impact is only unauthorized file creation, so C:N/I:L/A:N.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
2DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo
The find prototype in scripting/engine_v8.h in MongoDB 2.4.0 through 2.4.4 allows remote authenticated users to cause a
The MongoDB bson JavaScript module (also known as js-bson) versions 0.5.0 to 1.0.x before 1.0.5 is vulnerable to a Regul
Remote code execution in Chartbrew versions prior to 4.8.1 allows authenticated attackers with high privileges to execut
After user deletion in MongoDB Server the improper invalidation of authorization sessions allows an authenticated user's
The default configuration for MongoDB before 2.3.2 does not validate objects, which allows remote authenticated users to
SimStudio below 0.5.74 has a missing authorization on MongoDB tool endpoints that allows attackers to execute arbitrary
MongoDB Server may access non-initialized region of memory leading to unexpected behaviour when zero arguments are calle
MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of e
Under certain configurations of --tlsCAFile and tls.CAFile, MongoDB Server may skip peer certificate validation which ma
All versions of bson before 1.1.4 are vulnerable to Deserialization of Untrusted Data. Rated critical severity (CVSS 9.8
Memory corruption in the MongoDB BI Connector ODBC Driver (fixed in v1.4.9) occurs when an oversized catalog, schema, or
EUVD-2026-116028
NVD
CVE.org
Vulnrichment
GitHub
Exploit-DB