GHSA-85cg-cmq5-qjm7 · Severity: critical · Ecosystem: npm — @nestjs/devtools-integration: CSRF to Sandbox Escape Allows for RCE against JS Developers
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.
Conclusion & alert: CVE-2025-54782 is rated High Exploit Risk (82.6/100): CVSS Critical severity, with high exploitation likelihood (EPSS 35.08%, 97th percentile). Core evidence: 3 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ | |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ | |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-01 | 39.11% | 35.08% | -4.03% |
| 2 | 2026-05-28 | 33.26% | 39.11% | +5.85% |
| 3 | 2026-05-25 | — | 33.26% | — |
Full EPSS history (41 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.4 | 4.0 | CRITICAL |
|
— | — | [email protected] |
| 8.8 | 3.1 | HIGH |
|
2.8 | 5.9 | [email protected] |
GHSA-85cg-cmq5-qjm7 · Severity: critical · Ecosystem: npm — @nestjs/devtools-integration: CSRF to Sandbox Escape Allows for RCE against JS Developers
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| nestjs | devtools-integration | < 0.2.1 | cpe:2.3:a:nestjs:devtools-integration:*:*:*:*:*:node.js:*:* |
| URL | Tags |
|---|---|
| https://github.com/JLLeitschuh/nestjs-devtools-integration-rce-poc | Exploit |
| https://github.com/JLLeitschuh/nestjs-typescript-starter-w-devtools-integration | Product |
| https://github.com/nestjs/nest/security/advisories/GHSA-85cg-cmq5-qjm7 | Exploit Vendor Advisory |
| https://nodejs.org/api/vm.html | Product |
| https://socket.dev/blog/nestjs-rce-vuln | Exploit Third Party Advisory |