Vulnerabilities/

Fastify's connection header abuse enables stripping of proxy-added headers

Severity:
High

Description

@fastify/reply-from and @fastify/http-proxy process the client’s Connection header after the proxy has added its own headers via rewriteRequestHeaders. This allows attackers to retroactively strip proxy-added headers (like access control or identification headers) from upstream requests by listing them in the Connection header value.

Recommendation

Update the @fastify/reply-from package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
@fastify/reply-from
Anything's wrong? Let us know Last updated on April 16, 2026