Update dependency @nestjs/platform-fastify to v11.1.14 [SECURITY]#1404
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
Update dependency @nestjs/platform-fastify to v11.1.14 [SECURITY]#1404renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
196b85a to
2600867
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
11.1.9→11.1.14Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
GitHub Vulnerability Alerts
CVE-2025-69211
A NestJS application is vulnerable if it meets all of the following criteria:
@nestjs/platform-fastify.NestMiddleware(viaMiddlewareConsumer) for security checks (authentication, authorization, etc.), or throughapp.use().forRoutes('admin')).Example Vulnerable Config:
Attack Vector:
/adminadminGET /%61dmin%61dmin), but controller for/adminis executed.Consequences:
Patches
Patched in
@nestjs/platform-fastify@11.1.11Resources
Credit goes to Hacktron AI for reporting this issue.
CVE-2026-2293
Impact
What kind of vulnerability is it? Who is impacted?
A NestJS application using
@nestjs/platform-fastifycan allow bypass of any middleware when Fastify path-normalization options (e.g.,ignoreTrailingSlash,ignoreDuplicateSlashes,useSemicolonDelimiter) are enabled. In affected route-scoped middleware setups, variant paths may skip middleware checks while still reaching the protected handler.The bug is a path canonicalization mismatch between middleware matching and route matching in Nest’s Fastify adapter.
Nest passes Fastify routerOptions (such as
ignoreTrailingSlash,ignoreDuplicateSlashes,useSemicolonDelimiter) to the Fastify router in packages/platform-fastify/adapters/fastify-adapter.ts:253.But middleware execution is decided by a separate regex check over
req.originalUrlin packages/platform-fastify/adapters/fastify-adapter.ts:706 and packages/platform-fastify/adapters/fastify-adapter.ts:713.If that regex does not match, Nest does
next()and skips the middleware (packages/platform-fastify/adapters/fastify-adapter.ts:714), while Fastify may still normalize the same path and route it to the protected handler. So the vulnerability exists because security checks (middleware) and request dispatch(router) use different URL interpretations.This is a fail-open design issue (inconsistent normalization), not just a bad app config: non-default router options make the mismatch reachable.
Patches
Fixed in
@nestjs/platform-fastify@11.1.14References
Credit goes to Fluidattacks (Cristian Vargas) https://fluidattacks.com/advisories/neton
Release Notes
nestjs/nest (@nestjs/platform-fastify)
v11.1.14Compare Source
v11.1.14 (2026-02-17)
Bug fixes
platform-fastifycommonEnhancements
commonCommitters: 5
v11.1.13Compare Source
v11.1.13 (2026-02-03)
Bug fixes
commonEnhancements
microservicescommonDependencies
platform-fastifyplatform-expressCommitters: 6
v11.1.12Compare Source
v11.1.12 (2026-01-15)
Bug fixes
commonDependencies
platform-wscommonplatform-fastifyCommitters: 3
v11.1.11Compare Source
v11.1.11 (2025-12-29)
Bug fixes
platform-fastifycoreDependencies
platform-socket.ioplatform-fastifycommonCommitters: 3
v11.1.10Compare Source
v11.1.10 (2025-12-22)
Bug fixes
coremicroservicescommonEnhancements
commoncoremicroservicescommon,coreDependencies
platform-fastifyplatform-expresscommonCommitters: 11
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.