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
Score elevated to 8.9 because EPSS predicts 44% probability of exploitation within the next 30 days (top 1.4% of all CVEs). NVD baseline CVSS 8.8 retained for reference. Confidence: see factors.
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 8.8
- EG Score
- 8.9(high)
- EG Risk
- 58(Track*)EG Risk 58/100SSVC: Track*
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity89% × 45%Exploitation44% × 40%Automatability0% × 15%Action: Watch closely — could escalate to Attend. - EPSS PROB
- 44%
- EPSS %ILE
- 99%
- KEV
- Not listed
Published
August 2, 2025
Last Modified
October 9, 2025
References (6)
- security-advisories@githubhttps://github.com/JLLeitschuh/nestjs-devtools-integration-rce-poc
- security-advisories@githubhttps://github.com/JLLeitschuh/nestjs-typescript-starter-w-devtools-integration
- security-advisories@githubhttps://github.com/nestjs/nest/security/advisories/GHSA-85cg-cmq5-qjm7
- security-advisories@githubhttps://nodejs.org/api/vm.html
- security-advisories@githubhttps://socket.dev/blog/nestjs-rce-vuln
- 134c704f-9b21-4f2e-91b3-4a467353bcc0https://github.com/nestjs/nest/security/advisories/GHSA-85cg-cmq5-qjm7
Affected Packages
(1 across 1 ecosystem)
npm(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| @nestjs/devtools-integration | — | 0.2.1 | — |
Weakness Classification(3)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 9× in last 7d / 31× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-26 14:54 UTCEPSS rescore
- 2026-07-25 14:17 UTCEPSS rescore
- 2026-07-24 14:17 UTCEPSS rescore
- 2026-07-23 14:18 UTCEPSS rescore
- 2026-07-23 02:58 UTCEG score recompute▲ 0.10
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-22 14:07 UTCEPSS rescore
- 2026-07-21 15:24 UTCEPSS rescore
- 2026-07-20 17:08 UTCEPSS rescore
- 2026-07-19 14:30 UTCEPSS rescore
- 2026-07-19 14:30 UTCEPSS rescore
- 2026-07-19 02:28 UTCEPSS rescore
- 2026-07-18 10:04 UTCEPSS rescore
- 2026-07-16 17:02 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-13 22:29 UTCEPSS rescore
- 2026-07-13 06:12 UTCEPSS rescore
- 2026-07-13 06:12 UTCEPSS rescore
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-09 19:09 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
Show 48 moreShow fewer
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-02 17:01 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-28 04:55 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-17 17:52 UTCEPSS rescore
- 2026-06-16 17:52 UTCEPSS rescore
- 2026-06-16 17:52 UTCEPSS rescore
- 2026-06-15 17:48 UTCEPSS rescore
- 2026-06-14 23:17 UTCEPSS rescore
- 2026-06-13 23:00 UTCEPSS rescore
- 2026-06-12 23:11 UTCEPSS rescore
- 2026-06-11 14:00 UTCEPSS rescore
- 2026-06-11 14:00 UTCEPSS rescore
- 2026-06-10 22:18 UTCEPSS rescore
- 2026-06-10 22:18 UTCEPSS rescore
- 2026-06-10 13:22 UTCEPSS rescore
- 2026-06-10 13:22 UTCEPSS rescore
- 2026-06-07 15:24 UTCEPSS rescore
- 2026-06-07 15:24 UTCEPSS rescore
- 2026-06-06 13:47 UTCEPSS rescore
- 2026-06-06 13:47 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 06:10 UTCEPSS rescore
- 2026-06-05 06:10 UTCEPSS rescore
- 2026-06-04 13:12 UTCEPSS rescore
- 2026-06-04 13:12 UTCEPSS rescore
- 2026-06-02 20:12 UTCEPSS rescore
- 2026-06-02 20:12 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 00:16 UTCEPSS rescore
- 2026-05-31 00:16 UTCEPSS rescore
- 2026-05-30 01:00 UTCEG score recompute
- 2026-05-29 13:44 UTCEPSS rescore
Publicly available exploits
(1 reference)Working exploit code is in the public domain. Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Nucleihttp/cves/2025/CVE-2025-54782.yamlFirst seen Jan 1, 2025
NestJS DevTools Integration - Remote Code Execution
Open source ↗
Related CVEs(same CWE)
Same CWE
10 shownCWE-78 · CWE-77 · CWE-352
- CVE-2003-0041EG 10.0HIGH
- CVE-2001-1583EG 10.0EPSS p100HIGH
- CVE-1999-0067EG 10.0EPSS p100HIGH
- CVE-2007-3010EG 9.8 KEVEPSS p100CRITICAL
- CVE-2005-2773EG 9.8 KEVEPSS p99CRITICAL
- CVE-1999-0043EG 9.8EPSS p99CRITICAL
- CVE-2007-6730EG 9.3HIGH
- CVE-2008-1250EG 9.3HIGH
- CVE-2008-0228EG 9.3HIGH
- CVE-2007-5653EG 9.3EPSS p91HIGH
Frequently asked(5)
What is CVE-2025-54782?
When was CVE-2025-54782 disclosed?
Is CVE-2025-54782 actively exploited?
What is the CVSS score of CVE-2025-54782?
How do I remediate CVE-2025-54782?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2025-54782
Is Your Infrastructure Affected by CVE-2025-54782?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.