MongoDB 9.0.x < 9.0.7 Multiple Vulnerabilities (SERVER-136285)

high Nessus Plugin ID 384106

Synopsis

The remote host is missing a security update.

Description

The version of MongoDB installed on the remote host is 9.0.x prior to 9.0.7. It is, therefore, affected by multiple vulnerabilities:

- A use-after-free in the aggregation framework of MongoDB Server can occur when certain expressions are evaluated inside an aggregation sub-pipeline. The condition can be caused by an authenticated user with read privileges, and may result in the server terminating unexpectedly. (CVE-2026-120821)

- An authorization weakness in the aggregation framework of MongoDB Server can allow an authenticated user to have a view definition validated against privileges other than their own. The user may therefore read collections in a database they have not been granted read access to, including stored authentication material. (CVE-2026-120825)

- An authorization flaw in the aggregation and view-definition handling of sharded deployments of MongoDB Server can allow an authenticated user to read data belonging to other databases hosted on the same shard.
(CVE-2026-120826)

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

Solution

Upgrade to MongoDB version 9.0.7 or later.

See Also

https://jira.mongodb.org/browse/SERVER-136285

https://jira.mongodb.org/browse/SERVER-136876

https://jira.mongodb.org/browse/SERVER-136878

https://jira.mongodb.org/browse/SERVER-137361

Plugin Details

Severity: High

ID: 384106

File Name: mongodb_server_SERVER-136285.nasl

Version: 1.1

Type: Combined

Agent: windows, macosx, unix

Family: Databases

Published: 11/20/2026

Updated: 11/20/2026

Configuration: Enable thorough checks (optional)

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.79

CVSS v2

Risk Factor: Medium

Base Score: 6.8

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

CVSS Score Source: CVE-2026-120821

CVSS v3

Risk Factor: Medium

Base Score: 6.5

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

CVSS v4

Risk Factor: High

Base Score: 7.1

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Vulnerability Information

CPE: cpe:/a:mongodb:mongodb

Required KB Items: installed_sw/MongoDB

Patch Publication Date: 11/10/2026

Vulnerability Publication Date: 11/10/2026

Reference Information

CVE: CVE-2026-120821, CVE-2026-120825, CVE-2026-120826