Skip to content

fix(deps): update dependency @nestjs/platform-fastify to v11 [security]#71

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/npm-nestjs-platform-fastify-vulnerability
Open

fix(deps): update dependency @nestjs/platform-fastify to v11 [security]#71
renovate[bot] wants to merge 1 commit intomainfrom
renovate/npm-nestjs-platform-fastify-vulnerability

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Dec 30, 2025

This PR contains the following updates:

Package Change Age Confidence
@nestjs/platform-fastify (source) 10.4.2011.1.11 age confidence

GitHub Vulnerability Alerts

CVE-2025-69211

A NestJS application is vulnerable if it meets all of the following criteria:

  1. Platform: Uses @nestjs/platform-fastify.
  2. Security Mechanism: Relies on NestMiddleware (via MiddlewareConsumer) for security checks (authentication, authorization, etc.), or through app.use()
  3. Routing: Applies middleware to specific routes using string paths or controllers (e.g., .forRoutes('admin')).
    Example Vulnerable Config:
// app.module.ts
export class AppModule implements NestModule {
  configure(consumer: MiddlewareConsumer) {
    consumer
      .apply(AuthMiddleware) // Security check
      .forRoutes('admin');   // Vulnerable: Path-based restriction
  }
}

Attack Vector:

  • Target Route: /admin
  • Middleware Path: admin
  • Attack Request: GET /%61dmin
  • Result: Middleware is skipped (no match on %61dmin), but controller for /admin is executed.

Consequences:

  • Authentication Bypass: Unauthenticated users can access protected routes.
  • Authorization Bypass: Restricted administrative endpoints become accessible to lower-privileged users.
  • Input Validation Bypass: Middleware performing sanitization or validation can be skipped.

Patches

Patched in @nestjs/platform-fastify@11.1.11

Resources

Credit goes to Hacktron AI for reporting this issue.


Release Notes

nestjs/nest (@​nestjs/platform-fastify)

v11.1.11

Compare Source

v11.1.11 (2025-12-29)

Bug fixes
Dependencies
Committers: 3

v11.1.10

Compare Source

v11.1.10 (2025-12-22)

Bug fixes
Enhancements
Dependencies
Committers: 11

v11.1.9

Compare Source

v11.1.9 (2025-11-14)

Bug fixes
Enhancements
Dependencies
Committers: 4

v11.1.8

Compare Source

v11.1.8 (2025-10-27)

Bug fixes
Committers: 2

v11.1.7

Compare Source

v11.1.7 (2025-10-21)

Bug fixes
Enhancements
Dependencies
Committers: 9

v11.1.6

Compare Source

v11.1.6 (2025-08-07)
Bug fixes
Dependencies
Committers: 6

v11.1.5

Compare Source

v11.1.5 (2025-07-18)

Dependencies

v11.1.4

Compare Source

v11.1.4 (2025-07-16)

Bug fixes
Enhancements
Dependencies
Committers: 11

v11.1.3

Compare Source

v11.1.3 (2025-06-06)
Bug fixes
Enhancements
Dependencies
Committers: 3

v11.1.2

Compare Source

v11.1.2 (2025-05-26)

Bug fixes
Dependencies
Committers: 2

v11.1.1

Compare Source

v11.1.1 (2025-05-14)

Bug fixes
Enhancements
Dependencies
Committers: 7

v11.1.0

Compare Source

v11.1.0 (2025-04-23)

Enhancements
Committers: 1

v11.0.21

Compare Source

v11.0.21 (2025-04-23)

Enhancements
Dependencies
Committers: 1

v11.0.20

Compare Source

What's Changed

New Contributors

Full Changelog: nestjs/nest@v11.0.19...v11.0.20

v11.0.19

Compare Source

v11.0.18

Compare Source

What's Changed

  • chore(common): temporarily move file-type to regular deps d9a69a3

Full Changelog: nestjs/nest@v11.0.17...v11.0.18

v11.0.17

Compare Source

v11.0.16

Compare Source

v11.0.16 (2025-04-11)

v11.0.15

Compare Source

v11.0.15 (2025-04-10)
Bug fixes
Committers: 1

v11.0.14

Compare Source

v11.0.14 (2025-04-09)
Bug fixes
  • platform-fastify
Committers: 1

v11.0.13

Compare Source

v11.0.13 (2025-04-03)
Bug fixes
  • platform-fastify
  • microservices
    • #​14869 fix(microservices): do not re-create client connection once get client by service name (@​mingo023)
Dependencies
Committers: 2

v11.0.12

Compare Source

v11.0.12 (2025-03-19)
Bug fixes
Enhancements

v11.0.11

Compare Source

v11.0.11 (2025-02-28)
Enhancements
  • platform-fastify
Dependencies
Committers: 1

v11.0.10

Compare Source

v11.0.10 (2025-02-17)
Bug fixes

v11.0.9

Compare Source

v11.0.9 (2025-02-10)
Bug fixes
Committers: 2

v11.0.8

Compare Source

v11.0.8 (2025-02-06)
Bug fixes
Committers: 4

v11.0.7

Compare Source

v11.0.7 (2025-01-31)
Bug fixes
Committers: 1

v11.0.6

Compare Source

v11.0.6 (2025-01-27)
Bug fixes
Committers: 1

v11.0.5

Compare Source

v11.0.5 (2025-01-23)
Bug fixes
Committers: 1

v11.0.4

Compare Source

v11.0.3

Compare Source

v11.0.2

Compare Source

v11.0.1

Compare Source

v11.0.0

Compare Source

v11.0.0 (2025-01-16)

Article: https://trilon.io/blog/announcing-nestjs-11-whats-new
Migration guide: https://docs.nestjs.com/migration-guide 👈 👈 👈

⚠️ Node v16 and v18 are no longer supported (>= v20 is required).

Features
  • common, core, microservices
  • common, core
  • common, core, microservices, platform-express, platform-fastify, platform-socket.io, platform-ws, testing, websockets
    • #​14238 chore(deps): upgrade to express v5, fastify v5, add legacy route path converter to minimize breaking changes (@​kamilmysliwiec)
Enhancements
Bug fixes
Other packages in the ecosystem
Dependencies
Committers: 22

v10.4.22

Compare Source

What's Changed

Full Changelog: nestjs/nest@v10.4.21...v10.4.22

v10.4.21

Compare Source

What's Changed
New Contributors

Full Changelog: nestjs/nest@v10.4.20...v10.4.21


Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC).

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/npm-nestjs-platform-fastify-vulnerability branch from 448d01b to 8f1af64 Compare January 5, 2026 00:57
@renovate renovate bot force-pushed the renovate/npm-nestjs-platform-fastify-vulnerability branch from 8f1af64 to c50cf4b Compare January 12, 2026 01:52
@renovate renovate bot force-pushed the renovate/npm-nestjs-platform-fastify-vulnerability branch 4 times, most recently from ca620ec to 65c8c8b Compare January 26, 2026 00:50
@renovate renovate bot force-pushed the renovate/npm-nestjs-platform-fastify-vulnerability branch 2 times, most recently from bd7eb00 to fd3ff3d Compare February 9, 2026 01:02
@renovate renovate bot force-pushed the renovate/npm-nestjs-platform-fastify-vulnerability branch 2 times, most recently from 958b163 to b34e8fe Compare February 16, 2026 02:12
@renovate renovate bot force-pushed the renovate/npm-nestjs-platform-fastify-vulnerability branch from b34e8fe to 3d1963c Compare February 23, 2026 01:25
@renovate renovate bot force-pushed the renovate/npm-nestjs-platform-fastify-vulnerability branch 2 times, most recently from f0fa7ab to 71c8860 Compare March 9, 2026 00:49
@renovate renovate bot force-pushed the renovate/npm-nestjs-platform-fastify-vulnerability branch 2 times, most recently from 5ec9142 to 6e02c7a Compare March 16, 2026 01:22
@renovate renovate bot force-pushed the renovate/npm-nestjs-platform-fastify-vulnerability branch from 6e02c7a to cac5fb0 Compare March 23, 2026 00:46
@renovate renovate bot force-pushed the renovate/npm-nestjs-platform-fastify-vulnerability branch from cac5fb0 to 6a3b916 Compare March 23, 2026 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants