🔐 CVE Alert

CVE-2026-113870

HIGH 8.8

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

CVSS Score
8.8
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-116
Vendor mongodb
Product compass
Ecosystems
Industries
Technology
Published Oct 21, 2026
Stay Ahead of the Next One

Get instant alerts for mongodb compass

Be the first to know when new high vulnerabilities affecting mongodb compass are published — delivered to Slack, Telegram or Discord.

Get Free Alerts → Free · No credit card · 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

MongoDB / Compass
1.7.0 < 1.49.15

References

NVD ↗ CVE.org ↗ EPSS Data ↗
mongodb.com: https://www.mongodb.com/docs/compass/release-notes/#mongodb-compass-14915

Credits

Hamza Amirache Hanaa Bouhia