Remote Code Execution in @nestjs/devtools-integration
A critical remote code execution vulnerability in @nestjs/devtools-integration versions 0.2.0 and below allows arbitrary code execution via an unsafe sandbox implementation in the /inspector/graph/interact endpoint.
CVE search metadata
CVE search record: CVE-2025-54782. Severity: high. CVSS: 8.8. EPSS: 47.19%. KEV: no. Product: @nestjs/devtools-integration. Brief: Remote Code Execution in @nestjs/devtools-integration. Brief link: https://feed.craftedsignal.io/briefs/2026-11-nestjs-rce-cve-2025-54782/
Triage facts
Revision 1- Applicability
- @nestjs/devtools-integration
- Evidence
- Unknown
- Severity
- Critical
- Sources
- 2 public sources
- Freshness
- Revision 1Nov 20, 12:13 UTC
- Detection
- 1 rule
- Vulnerabilities
- 1 CVE
- Source quality
- C3Roughly even chance
Overview
Nest is a framework for building scalable Node.js server-side applications. In @nestjs/devtools-integration versions 0.2.0 and below, a critical Remote Code Execution (RCE) vulnerability exists. When the package is enabled, it exposes a local development HTTP server with an API endpoint at /inspector/graph/interact. This endpoint accepts JSON input containing a 'code' field and executes it in an unsafe Node.js vm.runInNewContext sandbox.
Attack Chain
The vulnerability is triggered by sending a crafted request to the /inspector/graph/interact endpoint. Due to improper sandboxing and missing cross-origin protections, a malicious website visited by a developer can trigger this endpoint to execute arbitrary code on their local machine.
Impact
Successful exploitation allows an attacker to execute arbitrary code on the local machine running the NestJS development server. The vulnerability carries a CVSS 4.0 base score of 9.4.
Recommendation
Upgrade @nestjs/devtools-integration to version 0.2.1 or later to address this vulnerability.
Detection coverage 1
Detect CVE-2025-54782 Exploitation Attempt
criticalDetects HTTP POST requests to the /inspector/graph/interact endpoint used for code execution.
Detection queries are available on the platform. Get full rules →