Excessive Iteration in nest - #VU166175

 

Excessive Iteration in nest - #VU166175

Published: November 13, 2026


Vulnerability identifier: #VU166175
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-834
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service by blocking the event loop.

The vulnerability exists due to excessive iteration in the @nestjs/platform-fastify multipart parser when processing sparse array field names, with processing time proportional to the largest array index rather than the number of submitted fields. A remote attacker can send a small multipart request containing field names with large array indices to a route using an upload interceptor to block the event loop, while some field names also trigger HTTP 500 errors.


Affected software

nest

Remediation

Install security update from vendor's website.

nest - update to 12.1.3

External References

Related Security Bulletins