Skip to content

chore(deps): update dependency @nestjs/platform-fastify to v11.1.24 [security]#2726

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

chore(deps): update dependency @nestjs/platform-fastify to v11.1.24 [security]#2726
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/npm-nestjs-platform-fastify-vulnerability

Conversation

@renovate

@renovate renovate Bot commented May 7, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

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

Nest Fastify HEAD Request Middleware Bypass

CVE-2026-33011 / GHSA-wf42-42fg-fg84

More information

Details

Impact

In a NestJS application using @nestjs/platform-fastify, GET middleware can be bypassed because Fastify automatically redirects HEAD requests to the corresponding GET handlers (if they exist).

As a result:

  • Middleware will be completely skipped.
  • The HTTP response won't include a body (since the response is truncated when redirecting a HEAD request to a GET handler).
  • The actual handler will still be executed.
Patches

Fixed in @nestjs/platform-fastify@11.1.16

Severity

  • CVSS Score: 8.7 / 10 (High)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Nest: Middleware Bypass on Fastify via Trailing Slash

CVE-2026-54281 / GHSA-6v32-fjc9-9qf6

More information

Details

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

Severity

  • CVSS Score: 8.7 / 10 (High)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

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

v11.1.24

Compare Source

v11.1.24 (2026-05-25)

Bug fixes
Enhancements
Dependencies
Committers: 2

v11.1.23

Compare Source

v11.1.23 (2026-05-21)

Bug fixes
  • core
    • #​16998 fix snapshot: true eagerly instantiates Terminus transient indicators since 11.1.20
Committers: 1

v11.1.22

Compare Source

v11.1.22 (2026-05-21)

Bug fixes
Enhancements
Committers: 2

v11.1.21

Compare Source

v11.1.21 (2026-05-14)

Bug fixes
Committers: 1

v11.1.20

Compare Source

v11.1.20 (2026-05-13)

Bug fixes
Enhancements
Dependencies
Committers: 13

v11.1.19

Compare Source

v11.1.19 (2026-04-13)
Bug fixes
Committers: 2

v11.1.18

Compare Source

v11.1.18 (2026-04-03)

Bug fixes
Dependencies
Committers: 6

v11.1.17

Compare Source

v11.1.17 (2026-03-16)

Enhancements
Bugs
  • platform-fastify
    • auto-run middleware for HEAD requests as fastify redirects them to GET handlers (effectively skipping middleware execution) cbdf737 (@​kamilmysliwiec)
Dependencies
Committers: 3

v11.1.16

Compare Source

v11.1.16 (2026-03-05)

Bug fixes
  • microservices
Dependencies
Committers: 2

v11.1.15

Compare Source

What's Changed

New Contributors

Full Changelog: nestjs/nest@v11.1.14...v11.1.15


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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 072c099 to 941e282 Compare May 12, 2026 17:13
@renovate renovate Bot changed the title chore(deps): update dependency @nestjs/platform-fastify to v11.1.16 [security] chore(deps): update dependency @nestjs/platform-fastify to v11.1.16 [security] - autoclosed May 23, 2026
@renovate renovate Bot closed this May 23, 2026
@renovate renovate Bot deleted the renovate/npm-nestjs-platform-fastify-vulnerability branch May 23, 2026 12:47
@renovate renovate Bot changed the title chore(deps): update dependency @nestjs/platform-fastify to v11.1.16 [security] - autoclosed chore(deps): update dependency @nestjs/platform-fastify to v11.1.16 [security] May 23, 2026
@renovate renovate Bot reopened this May 23, 2026
@renovate renovate Bot force-pushed the renovate/npm-nestjs-platform-fastify-vulnerability branch 2 times, most recently from 941e282 to 2e38d45 Compare May 23, 2026 17:13
@renovate renovate Bot changed the title chore(deps): update dependency @nestjs/platform-fastify to v11.1.16 [security] chore(deps): update dependency @nestjs/platform-fastify to v11.1.24 [security] Jun 16, 2026
@renovate renovate Bot force-pushed the renovate/npm-nestjs-platform-fastify-vulnerability branch from 2e38d45 to 42c7153 Compare June 16, 2026 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants