Skip to content
On CISA KEVCritical

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

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

CatalogAddedRemediation dueRansomware use
CIRCL KEVAug 18, 2025n/aNot reported
Industry KEV feedAug 18, 2025n/aNot reported

Affected Products

4 affected entries in total
ProductAffected versionsFixed in
Devtools-IntegrationNestjsSee advisory0.2.1
@nestjs/devtools-integrationnpmSee advisory0.2.1
nestjs/nestSee advisoryn/a
nest< 0.2.1n/a

Patched Releases

@nestjs/devtools-integration

0.2.1

Devtools-Integration

0.2.1

nestjs/nest

0.2.1

Timeline

  1. Publicly disclosed

    Aug 1, 2025

  2. Last updated

    Aug 4, 2025

  3. Added to CIRCL KEV

    Aug 18, 2025

  4. 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

15 more references in the full CVE brief

FAQ

Common Questions.

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

More vulnerabilities

Figures as of Dec 2, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.