Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed TCP port or RMQ queue
-
DeliveryCraft message with deeply nested non-string pattern
-
ExploitJSON.stringify throws RangeError (stack overflow)
-
ExecutionUnhandled promise rejection kills Node process
-
ImpactMicroservice denial of service
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Exception handling completeness
|
| Exploitation Conditions | Exploitation requires the NestJS application to run as a microservice using specifically the TCP transport (ServerTCP) or the RabbitMQ transport (ServerRMQ) - all other transports are unaffected because their patterns arrive as strings and never reach the vulnerable JSON.stringify path. The attacker must have network reachability to the microservice's raw TCP listening port, or the ability to publish messages to the RabbitMQ queue or exchange the service consumes. No authentication or user interaction is needed (PR:N/UI:N), and default Node.js behavior (unhandled promise rejection terminating the process) is what turns the thrown RangeError into a crash. The primary limiting factor is exposure: these transport endpoints are commonly internal service-to-service surfaces rather than internet-facing, so realistic risk depends on whether the TCP port or message broker is reachable by an attacker. Affected versions are prior to 11.2.4 and prior to 12.0.2. |
| Impact | The CVSS 3.1 vector (7.5, AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) accurately captures a pure availability-loss network DoS: remote, unauthenticated, low-complexity, no user interaction, with no confidentiality or integrity impact. The high score is driven entirely by A:H. However, the score materially overstates day-to-day risk because exploitation is gated by deployment architecture: only microservices using the TCP or RabbitMQ transports are affected, and the attacker must be able to reach the raw TCP port or publish to the consumed RabbitMQ queue/exchange - surfaces that are frequently internal-only and not exposed to the public internet. No SSVC decision data, EPSS score, KEV listing, or public POC is provided in the input, so there is no signal of active or automated exploitation; per the precision rules this is 'no public exploit identified at time of analysis.' This is a real, easily-triggered crash-on-demand where the transport is reachable, but absent exploitation telemetry it reads as a moderate-priority patch for exposed microservice deployments rather than a widespread emergency. Data gap to note: EPSS/KEV/SSVC/POC signals are all absent from the input, so exploitation likelihood cannot be quantified. |
| Exploit ScenarioDerived | An attacker who can reach a NestJS microservice's TCP transport port (or publish to its consumed RabbitMQ queue/exchange) sends a single message whose |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 28, 2026
A remote, unauthenticated denial-of-service condition in the NestJS (Nest) microservices framework lets an attacker crash a service on demand by sending a single message whose 'pattern' field is a deeply nested object. Only deployments using the TCP transport (ServerTCP) or the RabbitMQ transport (ServerRMQ) are exposed, because those paths pass a client-controlled, non-string pattern into JSON.stringify to compute the handler lookup key; sufficient nesting throws 'RangeError: Maximum call stack size exceeded', and the unhandled promise rejection terminates the Node.js process under default behavior. Affected versions are prior to 11.2.4 and prior to 12.0.2; the CVSS 3.1 score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) reflects pure availability loss with no confidentiality or integrity impact, and no public exploit has been identified at time of analysis. Risk is highest where the raw TCP port or consumed RabbitMQ queue/exchange is reachable by untrusted parties, since these are typically internal service-to-service surfaces.
RemediationAI
Vendor-released patch: upgrade to NestJS 11.2.4 (for the 11.x line) or 12.0.2 (for the 12.x line), which are the versions where the pattern-serialization and unhandled-rejection paths are corrected (see GHSA-m8vh-jmq9-5rjg and releases v11.2.4 / v12.0.2). If immediate upgrade is not possible, apply compensating controls matched to the exposed transport: for TCP microservices, block or restrict network reachability to the ServerTCP listening port at the firewall/security-group level so only trusted internal services can connect, accepting that this narrows legitimate service-to-service traffic; for RabbitMQ-backed services, enforce broker authentication and authorization and tighten publish permissions on the specific queue or exchange the service consumes so that only trusted producers can submit messages, with the trade-off that misconfigured producer credentials or shared exchanges will break message flow. Do not rely on adding a process-level unhandledRejection handler as a permanent fix - it would stop the crash but masks errors and diverges from Node.js default termination semantics. The upstream fix is available via PR #17737 and commits aa97b5144d8dff1ce700aac521eb86449a679d6f and e9dcd4c7ac64361fbfe79461da85f5b3fc3e02da for teams tracking the source change.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CWE-248 (Uncaught Exception) is the root-cause class: the vulnerable code performs an unguarded recursive serialization on attacker-influenced input, and the resulting exception is never caught. In NestJS microservices, the transport layer derives the message handler lookup key from the incoming message's 'pattern' field. ServerTCP#handleMessage and ServerRMQ#handleMessage previously applied an isString() check only to decide the formatting path and otherwise called JSON.stringify(packet.pattern) directly; because JSON.stringify recurses proportionally to object depth, a pattern with enough nested levels exhausts the JavaScript call stack and raises RangeError: Maximum call stack size exceeded. The repository fix (PR #17737) replaces the isString/JSON.stringify logic with a shared getPatternAsString helper, introduces an UNSERIALIZABLE_PATTERN sentinel constant, and wraps the TCP/RMQ handlers so that rejections are routed via .catch(err => this.handleError(err)) instead of surfacing as unhandled promise rejections that terminate Node.js. Crucially, other NestJS transports are unaffected because their patterns are delivered as strings and never reach the recursive JSON.stringify path. The CPE cpe:2.3:a:nestjs:nest:*:*:*:*:*:*:*:* denotes the affected npm package across all versions, with the fix boundary set at the version-specific thresholds.
Know when Nest gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Remote unauthenticated single message crashes the process with no user interaction (AV:N/AC:L/PR:N/UI:N); impact is availability-only, so C:N/I:N/A:H.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
Nest is a framework for building scalable Node.js server-side applications. Prior to 11.2.4 and 12.0.2, a single message with a deeply nested object in its pattern can terminate a NestJS microservice using the TCP or RabbitMQ transport. ServerTCP#handleMessage and ServerRMQ#handleMessage pass a client-controlled non-string pattern to JSON.stringify to derive the handler lookup key; sufficiently deep nesting throws RangeError: Maximum call stack size exceeded, and the unhandled promise rejection terminates Node.js under its default behavior. An attacker who can reach the TCP port or publish to the consumed RabbitMQ queue or exchange can crash the service on demand; other transports are not affected because their patterns arrive as strings. This issue is fixed in versions 11.2.4 and 12.0.2.
Articles & Coverage 1
Technical POC Analysis
CWE-674 (Uncontrolled Recursion) surfacing as CWE-248 (Uncaught Exception).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Latest POC
1 PoC candidate from github (unverified)
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
A single unauthenticated network message can crash any NestJS microservice that uses the framework's TCP or RabbitMQ transport, forcing the process to terminate and taking that service offline until it is restarted. Because these transports are commonly used for internal service-to-service traffic (order handling, payments, notifications, data pipelines), an attacker with any network path to the raw TCP port or the consumed RabbitMQ queue can repeatedly degrade or halt dependent business workflows without needing credentials. No vendor patch is available, so leadership should treat this as an availability risk to be contained at the network and broker layer rather than a code-level fix.
No vendor-released patch identified at time of analysis. Interim mitigations: isolate ServerTCP ports and ServerRMQ queues/exchanges so they are reachable only from trusted service networks (firewall, security group, or Kubernetes NetworkPolicy); enforce broker authentication, per-queue publish ACLs, and mutual TLS on all transport connections; reject, truncate, or reject-early any message whose 'pattern' field is not a plain string, using depth and size limits at an API gateway or consumer pre-validation; add rate limiting and maximum message size caps; install a global unhandledRejection handler and process supervision with automatic restart to prevent a single rejected promise from terminating the service; monitor and alert on RangeError: Maximum call stack size exceeded and process restarts; and plan migration to versions 11.2.4 / 12.0.2 as soon as they are released and validated.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Authentication and authorization bypass in NestJS affects only applications served through the Fastify adapter: @nestjs/
Denial of service in OpenThread, the open-source Thread networking stack embedded in Google Nest devices (identified as
File Upload vulnerability in nestjs nest v.10.3.2 allows a remote attacker to execute arbitrary code via the Content-Typ
Versions of the package @nestjs/core before 9.0.5 are vulnerable to Information Exposure via the StreamableFile pipe. Ra
A NestJS application using @nestjs/platform-fastify can allow bypass of authentication/authorization middleware when Fas
Remote attackers can crash Nest.js applications (versions prior to 11.1.19) by sending approximately 47 KB of fragmented
EUVD-2026-88511
GHSA-m8vh-jmq9-5rjg
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB