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.
Project Subscriptions
No data.
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
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
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: mongodb
Published:
Updated: 2026-10-21T18:04:30.607Z
Reserved: 2026-10-20T19:20:31.973Z
Link: CVE-2026-113870
No data.
Status : Received
Published: 2026-10-21T19:17:00.110
Modified: 2026-10-21T19:17:00.110
Link: CVE-2026-113870
No data.
OpenCVE Enrichment
No data.
Weaknesses