Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix(deps): update dependency fastify to v5.8.3 [security]#8096

Merged
renovate[bot] merged 1 commit into
mainfrom
renovate/npm-fastify-vulnerability
Mar 25, 2026
Merged

fix(deps): update dependency fastify to v5.8.3 [security]#8096
renovate[bot] merged 1 commit into
mainfrom
renovate/npm-fastify-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Mar 25, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
fastify (source) 5.8.25.8.3 age confidence

GitHub Vulnerability Alerts

CVE-2026-3635

Summary

When trustProxy is configured with a restrictive trust function (e.g., a specific IP like trustProxy: '10.0.0.1', a subnet, a hop count, or a custom function), the request.protocol and request.host getters read X-Forwarded-Proto and X-Forwarded-Host headers from any connection — including connections from untrusted IPs. This allows an attacker connecting directly to Fastify (bypassing the proxy) to spoof both the protocol and host seen by the application.

Affected Versions

fastify <= 5.8.2

Impact

Applications using request.protocol or request.host for security decisions (HTTPS enforcement, secure cookie flags, CSRF origin checks, URL construction, host-based routing) are affected when trustProxy is configured with a restrictive trust function.

When trustProxy: true (trust everything), both host and protocol trust all forwarded headers — this is expected behavior. The vulnerability only manifests with restrictive trust configurations.


Release Notes

fastify/fastify (fastify)

v5.8.3

Compare Source

⚠️ Security Release

This fixes CVE CVE-2026-3635 GHSA-444r-cwp2-x5xf.

What's Changed

New Contributors

Full Changelog: fastify/fastify@v5.8.2...v5.8.3


Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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 requested a review from a team as a code owner March 25, 2026 21:11
@renovate renovate Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Mar 25, 2026
@renovate renovate Bot enabled auto-merge (squash) March 25, 2026 21:11
@github-actions

Copy link
Copy Markdown

📊 Benchmark results

Comparing with e4197fc

  • Dependency count: 1,059 (no change)
  • Package size: 354 MB ⬆️ 0.00% increase vs. e4197fc
  • Number of ts-expect-error directives: 356 (no change)

@renovate renovate Bot merged commit d3a3059 into main Mar 25, 2026
70 checks passed
@renovate renovate Bot deleted the renovate/npm-fastify-vulnerability branch March 25, 2026 21:28
eduardoboucas pushed a commit that referenced this pull request Mar 26, 2026
🤖 I have created a release *beep* *boop*
---


## [24.6.2](v24.6.1...v24.6.2)
(2026-03-26)


### Bug Fixes

* deploy DB migrations
([#8103](#8103))
([8d7c0a5](8d7c0a5))
* **deps:** update dependency fastify to v5.8.3 [security]
([#8096](#8096))
([d3a3059](d3a3059))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: token-generator-app[bot] <82042599+token-generator-app[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants