What’s Vulnerable › Vulnerabilities
CVE-2026-113870: Improper Encoding of Server-Supplied JavaScript Values in MongoDB Compass BSON Parsing
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-21 · updated 2026-10-30
- Weakness: CWE-116
Description
MongoDB Compass improperly escapes certain BSON values when converting a stored view’s aggregation pipeline into editable source. When a user connects to a MongoDB deployment containing a specially crafted view and opens that view for editing, the values can cause arbitrary code to execute with the privileges of the user running Compass.
Affected products
- MongoDB Compass: from 1.7.0 before 1.49.15 — fixed in 1.49.15
How to fix
Upgrade to a fixed version: MongoDB Compass 1.49.15. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-113870 or the next vulnerability affects your stack