Skip to content

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

HighCVSS 8.6 EPSS 0.24%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
MongoDB Compass >= 1.7.0, < 1.49.15 1.49.15 Fixed

Affected products

ProductAffected versionsFixed in
MongoDB Compass >= 1.7.0, < 1.49.15 1.49.15

References