Vulnerability in MongoDB Compass

CVE-2026-113870

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.

Published .

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

EPSS exploit prediction

No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-113870?
CVE-2026-113870 is a high-severity vulnerability in MongoDB Compass, classified under Improper Encoding or Escaping of Output. CVSS score: 8.8/10. Published 2026-10-21.
How severe is CVE-2026-113870?
High severity. CVSS v3 base score is 8.8 out of 10.