Read the docs

Nest: Remote process termination via a deeply nested microservice message pattern

Priority HIGH 72CWE-248Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-248.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00586 48th percentileScored 2026-11-07
Fix Fixed nest (nestjs): 11.2.4, 12.0.2@nestjs/microservices (npm): 11.2.4, 12.0.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
nestjsnestbefore 11.2.4; 12.0.0 to before 12.0.211.2.4, 12.0.2Patch availableCNA
—@nestjs/microservices (npm)before 11.2.411.2.4Patch availableGHSA-m8vh-jmq9-5rjg
—@nestjs/microservices (npm)12.0.0 to before 12.0.212.0.2Patch availableGHSA-m8vh-jmq9-5rjg
  • nest Vendornestjs Affected before 11.2.4; 12.0.0 to before 12.0.2 Fixed in 11.2.4, 12.0.2 Patch available CNA
  • @nestjs/microservices (npm) Vendor— Affected before 11.2.4 Fixed in 11.2.4 Patch available GHSA-m8vh-jmq9-5rjg
  • @nestjs/microservices (npm) Vendor— Affected 12.0.0 to before 12.0.2 Fixed in 12.0.2 Patch available GHSA-m8vh-jmq9-5rjg

Remediation

  • Fix · CNA nest (nestjs) Fixed in 11.2.4, 12.0.2
  • Fix · GHSA-m8vh-jmq9-5rjg @nestjs/microservices (npm) Fixed in 11.2.4 Advisory →
  • Fix · GHSA-m8vh-jmq9-5rjg @nestjs/microservices (npm) Fixed in 12.0.2 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-102281
  2. 2026-10-03 Alias added: GHSA-m8vh-jmq9-5rjg

References

  • TI-2025-34537 @nestjs/devtools-integration's CSRF to Sandbox Escape Allows for RCE against JS Developers CVSS 4.0CRITICAL 9.4
  • TI-2026-01938 NestJS 11.1.13 - Lack of data validation allowing authentication/authorization bypass CVSS 4.0HIGH 8.2
  • TI-2025-42665 Nest has a Fastify URL Encoding Middleware Bypass (TOCTOU) CVSS 4.0MEDIUM 6.9
  • TI-2024-19449 File Upload vulnerability in nestjs nest v.10.3.2 allows a remote attacker to execute… CVSS 3.1MEDIUM 5.5
  • TI-2026-25458 Nest Fastify HEAD Request Middleware Bypass CVSS 4.0HIGH 8.7
  • TI-2026-39181 Nest: Middleware Bypass on Fastify via Trailing Slash CVSS 4.0HIGH 8.7
See all 9 →

Sources