CVE-2026-113870

published 21 Oct 2026 · updated 30 Oct 2026

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

8.8HighCVSS 8.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Compass 1.49.15.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MongoDBCompass>=1.7.0 <1.49.151.49.15

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in MongoDB, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-113870 severity on Zeptric[![CVE-2026-113870](https://zeptric.io/badge/cve/CVE-2026-113870.svg)](https://zeptric.io/cve/CVE-2026-113870)