SCA: security update for @nestjs/devtools-integration (GHSA-85cg-cmq5-qjm7)

critical Tenable Self-Hosted Container Security Plugin ID 428714

Description

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

- Nest is a framework for building scalable Node.js server-side applications. In versions 0.2.0 and below, a
critical Remote Code Execution (RCE) vulnerability was discovered in the @nestjs/devtools-integration
package. When enabled, the package exposes a local development HTTP server with an API endpoint that uses
an unsafe JavaScript sandbox (safe-eval-like implementation). Due to improper sandboxing and missing
cross-origin protections, any malicious website visited by a developer can execute arbitrary code on their
local machine. The package adds HTTP endpoints to a locally running NestJS development server. One of
these endpoints, /inspector/graph/interact, accepts JSON input containing a code field and executes the
provided code in a Node.js vm.runInNewContext sandbox. This is fixed in version 0.2.1. (CVE-2025-54782)

See Also

https://github.com/advisories/GHSA-85cg-cmq5-qjm7

Plugin Details

Severity: Critical

ID: 428714

Version: Revision 1.15

Type: Local

Family: SCA Checks

Published: 8/2/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: High

Score: 7.6

Percentile: 98.48

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

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

CVSS Score Source: CVE-2025-54782

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

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

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

CVSS v4

Risk Factor: Critical

Base Score: 9.4

Threat Score: 8.6

Threat Vector: CVSS:4.0/E:P

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/1/2025

Vulnerability Publication Date: 8/1/2025

Reference Information

CVE: CVE-2025-54782