Skip to content

🚨 [security] Update @nestjs/platform-fastify 11.1.19 → 11.1.27 (patch)#78

Open
depfu[bot] wants to merge 1 commit into
mainfrom
depfu/update/pnpm/@nestjs/platform-fastify-11.1.27
Open

🚨 [security] Update @nestjs/platform-fastify 11.1.19 → 11.1.27 (patch)#78
depfu[bot] wants to merge 1 commit into
mainfrom
depfu/update/pnpm/@nestjs/platform-fastify-11.1.27

Conversation

@depfu

@depfu depfu Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Welcome to Depfu 👋

This is one of the first three pull requests with dependency updates we've sent your way. We tried to start with a few easy patch-level updates. Hopefully your tests will pass and you can merge this pull request without too much risk. This should give you an idea how Depfu works in general.

After you merge your first pull request, we'll send you a few more. We'll never open more than seven PRs at the same time so you're not getting overwhelmed with updates.

Let us know if you have any questions. Thanks so much for giving Depfu a try!



🚨 Your current dependencies have known security vulnerabilities 🚨

This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!


Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ @​nestjs/platform-fastify (11.1.19 → 11.1.27) · Repo · Changelog

Security Advisories 🚨

🚨 Nest: Middleware Bypass on Fastify via Trailing Slash

Impact

An authentication bypass vulnerability exists in @nestjs/platform-fastify (confirmed on version 11.1.24, the latest available release at time of report). When middleware is registered through NestJS's MiddlewareConsumer.forRoutes() API on the Fastify adapter, an unauthenticated client can bypass the Nest middleware registered for that route by simply appending a trailing slash (/) to the request URL.

This bypass works on the default Fastify adapter configuration — no special router options need to be enabled. Applications using the standard CRUD route shape (GET /resource and GET /resource/:id) are affected when they protect those routes with MiddlewareConsumer.forRoutes() middleware.

Patches

Fixed in @nestjs/platform-fastify@11.1.24

References

Kudos goes to @a-tt-om

Release Notes

11.1.26

What's Changed

Full Changelog: v11.1.25...v11.1.26

11.1.25

What's Changed

New Contributors

Full Changelog: v11.1.24...v11.1.25

11.1.24

v11.1.24 (2026-05-25)

Bug fixes

Enhancements

  • core
    • #16997 feat(core): warn on late websocket adapter registration (@hbinhng)

Dependencies

Committers: 2

11.1.23

v11.1.23 (2026-05-21)

Bug fixes

  • core
    • #16998 fix snapshot: true eagerly instantiates Terminus transient indicators since 11.1.20

Committers: 1

11.1.22

v11.1.22 (2026-05-21)

Bug fixes

Enhancements

Committers: 2

11.1.21

v11.1.21 (2026-05-14)

Bug fixes

  • core

Committers: 1

11.1.20

v11.1.20 (2026-05-13)

Bug fixes

  • core, testing
  • core
  • microservices
    • #16850 fix(microservices): ServerRMQ crashes at boot when @MessagePattern(undefined) is combined with wildcards: true (@lavieennoir)
  • common
    • #16845 fix(common): accept zero timestamp in parse date pipe (@Mysh3ll)
  • platform-socket.io
    • #16742 fix(socket.io): Deduplicate disconnect listener in bindMessageHandlers (@fru1tworld)

Enhancements

  • microservices
    • #16676 feat(microservices): add return buffers option for binary data (@Forceres)
    • #16826 feat(microservices): handle rmq blocked/unblocked connection events (@thisalihassan)
  • common
  • platform-express

Dependencies

Committers: 13

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu Bot added the depfu label Jun 15, 2026
@depfu depfu Bot requested a review from microwavekonijn June 15, 2026 22:06
@changeset-bot

changeset-bot Bot commented Jun 15, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 1e52772

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants