CVE-2026-113870
JSON

8.6high

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

Severity
8.6high CVSS:4.0 by mongodb
Exploit likelihood
0.36% (higher than 32% of CVEs; EPSS, by FIRST)
Published
Last changed
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

Product or packageVersionsReported by
MongoDB Compassfrom 1.7.0 before 1.49.15CVE List

All scores

mongodb8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
mongodb8.6high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Classification

CWE-116

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-113870 changed 2026-10-30CVE Terms of Use
NVDCVE-2026-113870 changed 2026-10-30Public domain