Read the docs
TI-2026-29535 Aliases CVE-2026-40879GHSA-hpwf-8g29-85qm

Nest: DoS via Recursive handleData in JsonSocket (TCP Transport)

Priority LOW 39CWE-674Published · 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-674.

Summary

Nest is a framework for building scalable Node.js server-side applications. Prior to 11.1.19, when an attacker sends many small, valid JSON messages in one TCP frame, handleData() recurses once per message; the buffer shrinks each call. maxBufferSize is never reached; call stack overflows instead. A ~47 KB payload is sufficient to trigger RangeError. This vulnerability is fixed in 11.1.19.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00329 26th percentileScored 2026-11-07
Fix Fixed nest (nestjs): 11.1.19@nestjs/microservices (npm): 11.1.19

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
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.1.1911.1.19Patch availableCNA
—@nestjs/microservices (npm)before 11.1.1911.1.19Patch availableGHSA-hpwf-8g29-85qm
  • nest Vendornestjs Affected before 11.1.19 Fixed in 11.1.19 Patch available CNA
  • @nestjs/microservices (npm) Vendor— Affected before 11.1.19 Fixed in 11.1.19 Patch available GHSA-hpwf-8g29-85qm

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:nestjs:nest:*:*:*:*:*:node.js:*:*before 11.1.19Vulnerablenestjs
  • cpe:2.3:a:nestjs:nest:*:*:*:*:*:node.js:*:* Versions before 11.1.19 Vulnerable ·nestjs

Remediation

  • Fix · CNA nest (nestjs) Fixed in 11.1.19
  • Fix · GHSA-hpwf-8g29-85qm @nestjs/microservices (npm) Fixed in 11.1.19 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-40879
  2. 2026-10-03 Alias added: GHSA-hpwf-8g29-85qm

References

  • 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-27632 @nestjs/core Improperly Neutralizes Special Elements in Output Used by a Downstream Component ('Injection') CVSS 4.0MEDIUM 6.3
  • TI-2023-11333 Information disclosure in @nestjs/core CVSS 3.1MEDIUM 5.3

Sources