MongoDB Compass 1.7.0 < 1.49.15 Code Injection

high Nessus Plugin ID 382017

Synopsis

An application installed on the remote host is affected by a code injection vulnerability.

Description

The version of MongoDB Compass installed on the remote host is 1.7.0 prior to 1.49.15. It is, therefore, affected by a vulnerability:

- 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. (CVE-2026-113870)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to MongoDB Compass version 1.49.15 or later.

See Also

https://github.com/mongodb-js/compass/releases/tag/v1.49.15

https://www.mongodb.com/resources/products/alerts

http://www.nessus.org/u?50da658b

Plugin Details

Severity: High

ID: 382017

File Name: mongodb_compass_1_49_15.nasl

Version: 1.1

Type: Local

Agent: windows, macosx, unix

Family: Misc.

Published: 11/17/2026

Updated: 11/17/2026

Configuration: Enable thorough checks (optional)

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 58.5

CVSS v2

Risk Factor: Critical

Base Score: 10

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2026-113870

CVSS v3

Risk Factor: High

Base Score: 8.8

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

Vulnerability Information

CPE: cpe:/a:mongodb:compass

Required KB Items: installed_sw/MongoDB Compass

Patch Publication Date: 8/25/2026

Vulnerability Publication Date: 10/21/2026

Reference Information

CVE: CVE-2026-113870

IAVB: 2026-B-0321