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.
Metrics
Affected Vendors & Products
References
History
Thu, 22 Oct 2026 11:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Mongodb
Mongodb compass |
|
| Vendors & Products |
Mongodb
Mongodb compass |
Wed, 21 Oct 2026 18:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Improper Encoding of Server-Supplied JavaScript Values in MongoDB Compass BSON Parsing | |
| Weaknesses | CWE-116 | |
| References |
| |
| Metrics |
cvssV3_1
|
Status: PUBLISHED
Assigner: mongodb
Published: 2026-10-21T18:04:30.607Z
Updated: 2026-10-21T18:04:30.607Z
Reserved: 2026-10-20T19:20:31.973Z
Link: CVE-2026-113870
No data.
Status : Awaiting Analysis
Published: 2026-10-21T19:17:00.110
Modified: 2026-10-22T17:36:46.950
Link: CVE-2026-113870
No data.