MongoDB Compass code execution in stored view editing
MongoDB Compass
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| MongoDB Compass |
| No fix yet |
Original 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.
From the CVE record · mongodb