CVE-2026-40879: nestjs nest · Uncontrolled Recursion
Affects nestjs nestSource CVE Database V5
Not known to be exploited · CVSS 7.5 High : upgrade to 11.1.19 soon.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 26% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 11.1.19
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 21 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade nestjs nest to 11.1.19.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| nestjsnest | Affected
| Fixed in
|
AI-suggested
Upgrade NestJS to version 11.1.19 or later, where this vulnerability is fixed. Since the vendor advisory indicates the issue is resolved in 11.1.19, applying this official fix is the recommended remediation. Patch status is confirmed by the vendor advisory stating the fix is included in version 11.1.19.
Description
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.