CVE-2025-54782
Exploitation confirmed. First attested on 2025-08-18 by GCVE · kevintel, GCVE · shadowserver.
- Published2025-08-02
- Fixed in0.2.1
- WeaknessCWE-352 · CWE-77 · CWE-78
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2025-08-0200:15CVE publishedNVD
- 2025-08-1813:49Listed as exploited by GCVEGCVE
- 2025-08-1813:49Exploitation first reportedGCVE
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 0.2 | < 0.2.1 | 0.2.1 | NVD · OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- nestjs nestAffected
- = < 0.2.1no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2025-08-01
Fix
- Update Nestjs devtools-integration to 0.2.1
Advisories and patches
- github.comVendor Advisory
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- available ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2025-08-04
- PoC-in-GitHub2 repositories, unverifiedknown since 2026-11-01vxaretra/CVE-2025-54782DDestinys/CVE-2025-54782
- Metasploit modules
- none listed Metasploit Framework
Sources
- GCVEexploitation2025-08-18
- CISA-ADPSSVC decisionpoc2025-08-04
- CNACVSS 4.09.4known since 2026-10-23
- NVDCVSS 3.18.8read 2026-10-23
- CNAweakness (CWE)CWE-352, CWE-77, CWE-78known since 2026-10-23
- FIRST EPSSEPSS score47.2 %read 2026-11-18
- PoC-in-GitHubproof of concept2known since 2026-11-01
- ProjectDiscoverydetectionread 2026-11-18
- OSVaffected packages—
- GitHub AdvisoriesadvisoryCRITICAL2025-08-01
Identifiers
- EUVD-2025-23413same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-85cg-cmq5-qjm7same flawGitHub Advisory Database · CC-BY-4.0
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS 4.0 vector
- CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Published
- 2025-08-02
- Last Modified
- 2026-06-17
- NVD status
- Analyzed
- GitHub Advisory
- GHSA-85cg-cmq5-qjm7
Frequently asked questions
What is CVE-2025-54782?
Is CVE-2025-54782 actively exploited?
What is the CVSS score for CVE-2025-54782?
Running @nestjs/devtools-integration? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- For a threat intelligence platform: malware, C2 and ransomware indicators over STIX/TAXII.
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GCVE · GCVE dump terms (preserve source attribution)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-85cg-cmq5-qjm7
- Nuclei templates · MIT
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- CISA Vulnrichment · CC0-1.0