Commit f52721a
authored
chore(deps): update dependency fastify to v5.8.3 [security] (#70)
This PR contains the following updates:
| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [fastify](https://fastify.dev/)
([source](https://redirect.github.com/fastify/fastify)) | [`5.8.1` →
`5.8.3`](https://renovatebot.com/diffs/npm/fastify/5.8.1/5.8.3) |

|

|
### GitHub Vulnerability Alerts
####
[CVE-2026-3635](https://redirect.github.com/fastify/fastify/security/advisories/GHSA-444r-cwp2-x5xf)
## 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
<details>
<summary>fastify/fastify (fastify)</summary>
###
[`v5.8.3`](https://redirect.github.com/fastify/fastify/releases/tag/v5.8.3)
[Compare
Source](https://redirect.github.com/fastify/fastify/compare/v5.8.2...v5.8.3)
#### 1 parent 9107a40 commit f52721a
1 file changed
Lines changed: 9 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments