MongoDB 7.0.x < 7.0.48 / 8.0.x < 8.0.37 / 8.3.x < 8.3.16 Use-After-Free (SERVER-135727)

high Nessus Plugin ID 384108

Synopsis

The remote host is missing a security update.

Description

The version of MongoDB installed on the remote host is 7.0.x prior to 7.0.48, 8.0.x prior to 8.0.37, or 8.3.x prior to 8.3.16. It is, therefore, affected by a use-after-free vulnerability in the server-side JavaScript support used by aggregation. A stale reference can be retained while an aggregation stage that evaluates JavaScript is run by an authenticated user, which may result in unrelated memory contents being returned to the client or the server terminating unexpectedly. (CVE-2026-120818)

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 version 7.0.48 / 8.0.37 / 8.3.16 or later.

See Also

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

Plugin Details

Severity: High

ID: 384108

File Name: mongodb_server_SERVER-135727.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.5

Percentile: 51.36

CVSS v2

Risk Factor: High

Base Score: 7.5

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

CVSS Score Source: CVE-2026-120818

CVSS v3

Risk Factor: High

Base Score: 7.1

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

CVSS v4

Risk Factor: High

Base Score: 7.1

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:L/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-120818