Skip to content
OpenAdvisories
Critical · 9.0 CVE-2026-33805 EUVD-2026-22877GHSA-gwhp-pf74-vj37

@fastify/reply-from vulnerable to connection header abuse enabling stripping of proxy-added headers

Published Apr 15, 2026 · Updated Jul 15, 2026 · Assigned by openjs

Description

@fastify/reply-from v12.6.1 and earlier and @fastify/http-proxy v11.4.3 and earlier 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 from upstream requests by listing them in the Connection header value. Any header added by the proxy for routing, access control, or security purposes can be selectively removed by a client. @fastify/http-proxy is also affected as it delegates to @fastify/reply-from.

Upgrade to @fastify/reply-from v12.6.2 or @fastify/http-proxy v11.4.4 or later.

Affected products

VendorProductAffectedFixed
@fastify/reply-from @fastify/reply-from < 12.6.2 12.6.2
@fastify/reply-from @fastify/http-proxy < 11.4.4 11.4.4

Affected packages

EcosystemPackageAffectedFixedRecord
npm @fastify/http-proxy < 11.4.4 11.4.4 GHSA-gwhp-pf74-vj37
npm @fastify/reply-from < 12.6.2 12.6.2 GHSA-gwhp-pf74-vj37

References