CrowdSecLive Exploit Tracker
Limited ExploitationCVE-2025-54782Public Exploit

Nest - RCE (CVE-2025-54782)

PublishedAug 1, 2025
First SeenAug 25, 2025
Last Seen
Reported
CVSS9.4
web_application

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.

psychologyCrowdSec Analysis

CVE-2025-54782 is a critical remote code execution vulnerability in the @nestjs/devtools-integration package for NestJS, affecting versions 0.2.0 and below. This flaw allows any malicious website visited by a developer to execute arbitrary code on their local machine via an unsafe API endpoint exposed by the development server, due to improper sandboxing and missing cross-origin protections. Attackers can exploit this vulnerability to fully compromise the affected system, making it a significant risk for developers using vulnerable versions.

CrowdSec has been tracking this vulnerability and its exploits since 13th of August 2025.

CrowdSec network observations suggest that most exploitation of CVE-2025-54782 involves focused reconnaissance to identify viable targets. Attackers typically tailor their campaigns based on system exposure and configuration. It is unlikely that a given attack is accidental. Telemetry from the CrowdSec network also shows that exploitation activity for CVE-2025-54782 remains steady week-over-week. Attack volumes are consistent with long-term trends, indicating sustained interest from threat actors. CVE-2025-54782 continues to be an active part of the threat landscape and will likely remain this way for the forseeable future.

Attackers exploit the /inspector/graph/interact endpoint by sending JSON payloads containing malicious JavaScript code in the code field, enabling remote code execution on vulnerable NestJS development servers. This endpoint is exposed by the @nestjs/devtools-integration package when running in development mode.

lock

Full Intelligence Available

Connect your API key to access CrowdSec scores, exploit timelines, and attacker IPs.

EventDate
CVE Published2025-08-01
Rule Released2025-08-13
CrowdSec First Seen2025-08-25

Remediation & Protection

lock to download blocklists, subscribe to firewalls, and access IP intelligence.