Read the docs
TI-2025-34537 Aliases CVE-2025-54782GHSA-85cg-cmq5-qjm7

@nestjs/devtools-integration's CSRF to Sandbox Escape Allows for RCE against JS Developers

Priority HIGH 76CWE-352Published · Updated

Key facts

Attack vector
Adjacent network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Tampering, Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-352 and CWE-77.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.47188 98th percentileScored 2026-11-07
Public exploit Yes 3 exploit referencesTagged by NVD
Fix Fixed nest (nestjs): 0.2.1@nestjs/devtools-integration (npm): 0.2.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
nestjsnestbefore 0.2.10.2.1Patch availableCNA
—@nestjs/devtools-integration (npm)before 0.2.10.2.1Patch availableGHSA-85cg-cmq5-qjm7
  • nest Vendornestjs Affected before 0.2.1 Fixed in 0.2.1 Patch available CNA
  • @nestjs/devtools-integration (npm) Vendor— Affected before 0.2.1 Fixed in 0.2.1 Patch available GHSA-85cg-cmq5-qjm7

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:nestjs:devtools-integration:*:*:*:*:*:node.js:*:*before 0.2.1Vulnerablenestjs
  • cpe:2.3:a:nestjs:devtools-integration:*:*:*:*:*:node.js:*:* Versions before 0.2.1 Vulnerable ·nestjs

Remediation

  • Fix · CNA nest (nestjs) Fixed in 0.2.1
  • Fix · GHSA-85cg-cmq5-qjm7 @nestjs/devtools-integration (npm) Fixed in 0.2.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-54782
  2. 2026-10-03 Alias added: GHSA-85cg-cmq5-qjm7

References

Sources