Skip to content
OpenAdvisories
High · 8.8 CVE-2026-113870 EUVD-2026-107468GHSA-pf8m-jx52-cwh3

Improper Encoding of Server-Supplied JavaScript Values in MongoDB Compass BSON Parsing

Published Oct 21, 2026 · Updated Oct 30, 2026 · Assigned by mongodb

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

VendorProductAffectedFixed
MongoDB Compass 1.7.0 – < 1.49.15 1.49.15

Advisories 1

References