Interpretation Conflict in nest - #VU166178

 

Interpretation Conflict in nest - #VU166178

Published: November 13, 2026


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

Vulnerability details

The vulnerability allows a remote attacker to bypass middleware-based authentication and authorization checks and access or modify protected data.

The vulnerability exists due to an interpretation conflict between Fastify routing and Nest middleware path matching in @nestjs/platform-fastify when processing empty route parameters. A remote attacker can send a request with an empty route parameter to execute a protected route handler without running middleware bound through MiddlewareConsumer.forRoutes(...).


Affected software

nest

Remediation

Install security update from vendor's website.

nest - addressed in versions 11.2.8, 12.1.3

External References

Related Security Bulletins