CVE-2025-54782Devtools-Integration Command Injection
@nestjs/devtools-integration: CSRF to Sandbox Escape Allows for RCE against JS Developers
Published Aug 1, 2025 · Updated Aug 4, 2025 · Also known as GHSA-85cg-cmq5-qjm7
Key Facts
Patch immediately- CVE-2025-54782 is a critical-severity vulnerability (CVSS 9.4 v4) affecting Devtools-Integration (Nestjs), @nestjs/devtools-integration (npm), nestjs/nest and 1 more product.
- It is exploited in the wild, listed in CIRCL KEV, Industry KEV feed since Aug 18, 2025. A public exploit is reported by tracking sources, but no code link is listed yet.
- EPSS estimates a 47% probability of exploitation in the next 30 days.
- Fixed versions are available, including @nestjs/devtools-integration 0.2.1, Devtools-Integration 0.2.1, nestjs/nest 0.2.1.
- Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Scores
CVSS v4
9.4
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
EPSS (30-day exploit likelihood)
47%
Higher than 98.8% of all scored CVEs
Exploit maturity
Exploited (KEV)
ATLAS score
54/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Aug 18, 2025
17 days after publication
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Exploited (KEV)
Public exploit code
0
Proof-of-concept links
In-the-wild evidence
13
Reports of active use
Advisories And Exploit References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2025-54782
- advisoryGHSA advisory
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.
Known-Exploited Catalog Listings
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| CIRCL KEV | Aug 18, 2025 | n/a | Not reported |
| Industry KEV feed | Aug 18, 2025 | n/a | Not reported |
Affected Products
4 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| Devtools-IntegrationNestjs | See advisory | 0.2.1 |
| @nestjs/devtools-integrationnpm | See advisory | 0.2.1 |
| nestjs/nest | See advisory | n/a |
| nest | < 0.2.1 | n/a |
Patched Releases
@nestjs/devtools-integration
0.2.1
Devtools-Integration
0.2.1
nestjs/nest
0.2.1
Timeline
Publicly disclosed
Aug 1, 2025
Last updated
Aug 4, 2025
Added to CIRCL KEV
Aug 18, 2025
Added to Industry KEV feed
Aug 18, 2025
Weakness Type
- CWE-77 Improper Neutralization of Special Elements used in a Command
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
- CWE-352 Cross-Site Request Forgery
References
- advisorynvd.nist.gov · CVE-2025-54782
- advisoryGHSA advisory
- exploitVulnCheck exploitation report
- exploitVulnCheck exploitation report
- exploitVulnCheck exploitation report
FAQ
Common Questions.
Nest is a framework for building scalable Node.js server-side applications.
Affected: Devtools-Integration (Nestjs); @nestjs/devtools-integration (npm); nestjs/nest, among others. The full list is in the CVE brief.
It is exploited in the wild, listed in CIRCL KEV, Industry KEV feed since Aug 18, 2025.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
A public exploit is reported by tracking sources, but no code link is listed yet.
Fixed versions are available, including @nestjs/devtools-integration 0.2.1, Devtools-Integration 0.2.1, nestjs/nest 0.2.1.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Is CVE-2025-54782 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo