CVE-2026-76797: MongoDB MongoSQL Transition Readiness Tool CSV formula injection

CVE-2026-76797 · Severity: medium · CVSS 6.3 · Published 2026-08-28

The MongoSQL Transition Readiness Tool, a utility used to assess migration readiness for MongoDB databases, generates CSV reports that fail to sanitize database and collection names. An attacker with write access to the cluster can create databases or collections with names starting with formula characters (such as "="). When an operator opens the generated report in Excel, Google Sheets, or other spreadsheet software, these names are interpreted as formulas, potentially exposing sensitive report data or causing malicious code execution on the operator's workstation.

Technologies: MongoDB Mongosql Transition Readiness Tool. Vendors: MongoDB.

Quick answers

Is CVE-2026-76797 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-76797 being exploited in the wild.
How severe is CVE-2026-76797?
Medium severity, with a CVSS score of 6.3, published 28 August 2026.
Which products and versions are affected?
MongoDB MongoSQL Transition Readiness Tool.
Is there a fix for CVE-2026-76797?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-76797 attacked?
It is attacked over the network.
Am I affected by CVE-2026-76797?
Check whether you run MongoDB Mongosql Transition Readiness Tool. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

This vulnerability is a CSV formula injection (also known as CSV injection or spreadsheet formula injection) in the report generation functionality. The root cause is insufficient output encoding: database and collection names are written directly into CSV files without escaping or neutralizing leading characters that spreadsheet applications treat as formula delimiters (=, +, -, @, etc.). An authenticated attacker with cluster write privileges can create a malicious namespace (database.collection pair) with a name beginning with "=" or similar characters; when the report is generated and opened in a spreadsheet application, the malicious formula is executed. The attack requires the operator to open the generated report file in a spreadsheet application. The fix involves properly escaping or prefixing user-controlled data in CSV output to prevent formula interpretation.

Affected products

  • MongoDB MongoSQL Transition Readiness Tool

Timeline

  • 2026-08-28: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.