CVE-2026-113870
High
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.
SeverityHigh
CVSS8.8
Exploit probability15. percentile0.2%
Product
Compass
PublishedOct 21, 2026
First seenOct 21, 2026
Weakness typeCWE-116CWE-116
How to fix
Update
- MongoDB Compass1.49.15 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| MongoDB Compass | 1.7.0 ≤ v < 1.49.15 | 1.49.15 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.