SCA: security update for mongoose (GHSA-xfcm-rmv3-crmq)

high Tenable Cloud Security Plugin ID 499156

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. From 8.5.0
until 8.24.10 and 9.12.2, Mongoose's sanitizeProjection can be bypassed by +path selections, object or
array aggregation expressions, nested and parent projections, positional projections, $meta,
discriminator-specific exclusions, an own __proto__ key, and projection-cast error paths. Applications
that pass attacker-controlled data to select(), find(filter, projection), or the projection option while
relying on sanitizeProjection can return fields marked select: false, including password hashes, reset
tokens, API keys, and nested secrets. Nested exclusion objects, $elemMatch combined with an exclusion or a
cast error, and discriminator filters can also cause ordinary queries that do not enable
sanitizeProjection to omit the select: false exclusions that Mongoose normally adds. This issue is fixed
in versions 8.24.10 and 9.12.2. (CVE-2026-142596)

Solution

Update the mongoose library and its related packages to version 8.24.10 or later.

See Also

https://github.com/advisories/GHSA-xfcm-rmv3-crmq

Plugin Details

Severity: High

ID: 499156

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 12/4/2026

Updated: 12/4/2026

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.97

Vendor

Vendor Severity: High

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS Score Source: CVE-2026-142596

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 12/4/2026

Vulnerability Publication Date: 12/2/2026

Reference Information

CVE: CVE-2026-142596

cwe: CWE-200