← Back to search

CVE-2026-113870

8.8 HIGH

Published 2026-10-21 · Updated 2026-10-22

AI risk analysis

Summary
MongoDB Compass fails to properly escape BSON values when converting a stored view’s aggregation pipeline into editable source, allowing arbitrary code execution via specially crafted views when opened for editing.
Exploitability
Exploitation requires a user to open a specially crafted view in Compass (user interaction required), with no authentication or special privileges needed beyond normal access to the view.
Blast radius
Successful exploitation leads to arbitrary code execution with the privileges of the user running Compass, potentially compromising sensitive data, modifying systems, or pivoting within the host environment.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Upgrade to MongoDB Compass version 2.590 or later, as this version contains the fix for improper BSON escaping in view editing.
rcebson-escapecompassview-editinguser-interaction

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD 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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Weaknesses

CWE-116

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.