Uncaught Exception Affecting @nestjs/microservices package, versions <11.2.4>=12.0.0-alpha.0 <12.0.2


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.38% (30th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Uncaught Exception vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-NESTJSMICROSERVICES-20251033
  • published29 Sept 2026
  • disclosed28 Sept 2026
  • creditzerovulnlabs

Introduced: 28 Sep 2026

NewCVE-2026-102281  (opens in a new tab)
CWE-248  (opens in a new tab)

How to fix?

Upgrade @nestjs/microservices to version 11.2.4, 12.0.2 or higher.

Overview

@nestjs/microservices is a Nest - modern, fast, powerful node.js web framework (@microservices)

Affected versions of this package are vulnerable to Uncaught Exception via unguarded JSON.stringify calls on client-controlled message patterns in the TCP and RMQ server handlers (ServerTCP.handleMessage and ServerRMQ.handleMessage). An attacker can send a message with a deeply nested pattern object, causing JSON.stringify to throw a RangeError. Because the resulting promise rejection is left unhandled, the Node.js process terminates.

CVSS Base Scores

version 4.0
version 3.1