Skip to main content

CVE-2026-102281: CWE-248: Uncaught Exception in nestjs nest

0
High
VulnerabilityCVE-2026-102281cvecve-2026-102281cwe-248cwe-674
Published: 09/28/2026 (09/28/2026, 21:21:25 UTC)
Source: CVE Database V5
Vendor/Project: nestjs
Product: nest

Description

A vulnerability in the NestJS framework prior to versions 11.2.4 and 12.0.2 allows an attacker to crash a microservice using TCP or RabbitMQ transport by sending a deeply nested object pattern. This triggers a RangeError due to exceeding the maximum call stack size during JSON.stringify, causing unhandled promise rejection and termination of the Node.js process. The issue does not affect other transports that receive patterns as strings. Fixed in versions 11.2.4 and 12.0.2.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

nestjs

nest

Affected versions
<11.2.4>=12.0.0 <12.0.2

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/28/2026, 21:47:40 UTC

Technical Analysis

NestJS versions before 11.2.4 and between 12.0.0 and 12.0.2 are vulnerable to a denial-of-service condition when handling messages with deeply nested objects in their pattern. The ServerTCP#handleMessage and ServerRMQ#handleMessage methods use JSON.stringify on a client-controlled non-string pattern to derive a handler lookup key. Deep nesting causes a RangeError: Maximum call stack size exceeded, which is not caught, leading to an unhandled promise rejection that terminates the Node.js process. This vulnerability affects microservices using TCP or RabbitMQ transports but not other transports where patterns arrive as strings. The vulnerability is resolved in versions 11.2.4 and 12.0.2.

Potential Impact

An attacker with network access to the TCP port or the ability to publish messages to the RabbitMQ queue or exchange can cause a denial-of-service by crashing the NestJS microservice. This results in service unavailability due to the Node.js process termination. There is no impact on confidentiality or integrity, only availability is affected.

Mitigation Recommendations

Upgrade affected NestJS versions to 11.2.4 or later, or 12.0.2 or later, where this issue is fixed. No other mitigations are indicated. Patch status is confirmed by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-09-28T20:11:16.659Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6abadd1af7a7c541063c872c

Added to database: 09/28/2026, 21:33:14 UTC

Last enriched: 09/28/2026, 21:47:40 UTC

Last updated: 09/28/2026, 21:56:51 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses