Black Friday60% off BLACKFRIDAY2026
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
critical·Product Based Web Vulnerabilities·Updated Aug 5, 2025

CVE-2025-54782 Scanner

CVE-2025-54782 Scanner - Remote Code Execution (RCE) vulnerability in NestJS DevTools Integration

Est. Time~10 seconds
Scan TypeSingle Scan
Targetsdomain, subdomain, ipv4
CostFree
3.5k
Times Used
continuous scan runs
4.2k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
9.4
CVSScritical
Exploitable from an adjacent network · no authentication required.
Description

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.

Attack Vector
Adjacent
Privileges Req.
None
User Interaction
None
Affected
nestby nestjs
< 0.2.1
Updated Nov 7, 2026View on NVD →
Detail

NestJS DevTools Integration is a component designed to assist in the development and debugging of applications within the NestJS framework. It is primarily utilized by software developers and engineers working on scalable server-side applications using Node.js. The framework facilitates efficient web application construction and is renowned for promoting maintainability and modularity. Its integration with development tools aims to provide seamless support during the code-writing phase, accelerating workflow and enhancing productivity for developers.

The vulnerability pertains to a critical Remote Code Execution (RCE) flaw identified in NestJS DevTools Integration versions 0.2.0 and below. This security issue arises due to an unsafe JavaScript sandbox exposed through an API endpoint. The endpoint is susceptible to exploitation by malicious websites visited during development sessions, potentially executing arbitrary code on systems using the affected package. This flaw represents a significant security threat to developers utilizing the package under specified conditions.

The technical details of the flaw reveal that the /inspector/graph/interact endpoint in the NestJS development server, accepts JSON input containing a code field. The code is executed in a Node.js vm.runInNewContext sandbox, which lacks stringent sandboxing and cross-origin request controls, allowing for arbitrary code execution. This endpoint serves as the primary focal point for the vulnerability, highlighting the need for enhanced protections and codesandboxing techniques within affected versions.

Exploitation of this vulnerability could result in unauthorized code execution, compromising local development environments. Such breaches may lead to sensitive data exposure, unauthorized system access, and potential further compromises of application security. Developers working on critical infrastructure or sensitive data processing could experience severe repercussions if the vulnerability is left unpatched.

REFERENCES

Solution Advice
  • Upgrade to NestJS DevTools Integration version 0.2.1 or later to resolve the RCE vulnerability.
  • Implement network controls to restrict external access to the development server endpoints.
  • Regularly audit and test development environments to identify and mitigate potential security risks.
  • Enable stricter sandboxing and cross-origin request protections in development server configurations.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

12,000+ scanners. Free to start. No credit card required.