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.
Published: 2026-04-15
Score: 9 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Bypass of proxy‑added headers used for routing or access control
Action: Immediate Patch
AI Analysis

Impact

The vulnerability exists in @fastify/reply‑from and @fastify/http‑proxy where the library processes the client’s Connection header after the proxy has injected its own headers. This allows an attacker to list those proxy‑added headers in the Connection header value, causing the library to strip them from the upstream request. The result is that routing, access‑control, or security headers that the proxy added are removed, enabling the attacker to bypass proxy‑enforced controls or redirect traffic. This flaw is a form of HTTP header manipulation (CWE‑644) and header injection that can lead to header spoofing or denial of service (CWE‑444), compromising the integrity and confidentiality of requests handled by the proxy.

Affected Systems

Affected products include the Fastify reply‑from plugin up to and including version 12.6.1 and the Fastify http‑proxy plugin up to and including version 11.4.3. Both libraries process the Connection header in a way that allows the aforementioned manipulation and must be upgraded to the versions cited in the advisory for remediation.

Risk and Exploitability

The advisory assigns a CVSS base score of 9, indicating critical impact. This vulnerability has an EPSS score of <1% (approximately 0.04%), indicating a very low exploitation probability, and it is not listed in the CISA KEV catalog. The severity combined with the straightforward attack vector remains a high‑risk flaw. An attacker only needs to send an HTTP request to the vulnerable proxy service and supply a Connection header that names a proxy‑added header; no authentication is required. If the proxy forwards requests to sensitive services, the attacker can effectively remove headers that guard against unauthorized access or enforce routing policies.

Generated by OpenCVE AI on April 17, 2026 at 08:25 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade @fastify/reply‑from to version 12.6.2 or later.
  • Upgrade @fastify/http‑proxy to version 11.4.4 or later.
  • Configure the proxy to reject or remove any Connection header values that attempt to strip headers added by the proxy, ensuring only a whitelisted set of headers can be forwarded.

Generated by OpenCVE AI on April 17, 2026 at 08:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-gwhp-pf74-vj37 Fastify's connection header abuse enables stripping of proxy-added headers
History

Fri, 17 Apr 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-444
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N'}

threat_severity

Important


Wed, 15 Apr 2026 15:15:00 +0000

Type Values Removed Values Added
First Time appeared Fastify
Fastify fastify-http-proxy
Fastify fastify-reply-from
Fastify-reply-from Project
Fastify-reply-from Project fastify-reply-from
Vendors & Products Fastify
Fastify fastify-http-proxy
Fastify fastify-reply-from
Fastify-reply-from Project
Fastify-reply-from Project fastify-reply-from

Wed, 15 Apr 2026 13:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 15 Apr 2026 10:45:00 +0000

Type Values Removed Values Added
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.
Title @fastify/reply-from vulnerable to connection header abuse enabling stripping of proxy-added headers
Weaknesses CWE-644
References
Metrics cvssV4_0

{'score': 9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:L/SI:H/SA:N'}


Subscriptions

Fastify Fastify-http-proxy Fastify-reply-from
Fastify-reply-from Project Fastify-reply-from
cve-icon MITRE

Status: PUBLISHED

Assigner: openjs

Published:

Updated: 2026-04-15T13:08:12.612Z

Reserved: 2026-03-23T19:48:48.714Z

Link: CVE-2026-33805

cve-icon Vulnrichment

Updated: 2026-04-15T13:07:59.414Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-04-15T11:16:34.990

Modified: 2026-04-17T15:09:46.880

Link: CVE-2026-33805

cve-icon Redhat

Severity : Important

Publid Date: 2026-04-15T10:13:25Z

Links: CVE-2026-33805 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-04-17T08:30:13Z

Weaknesses