CVE-2026-33805

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

Published Apr 15, 2026 CVSS 4.0 · 9 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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
Type Values Removed Values Added
First Time appeared Fastify fastify\/http-proxy
Fastify reply-from
CPEs cpe:2.3:a:fastify:fastify\/http-proxy:*:*:*:*:*:node.js:*:*
cpe:2.3:a:fastify:reply-from:*:*:*:*:*:node.js:*:*
Vendors & Products Fastify fastify\/http-proxy
Fastify reply-from
Metrics 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'}

cvssV3_1

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

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

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
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-444

    Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')

  • CWE-644

    Improper Neutralization of HTTP Headers for Scripting Syntax

Sources

Status
PUBLISHED
Assigner
openjs
Published
Updated
Jul 15, 2026, 1:06 AM
Reserved
Mar 23, 2026, 7:48 PM
Status
Modified
Published
Apr 15, 2026, 11:16 AM
Modified
Oct 26, 2026, 10:10 PM
Severity
Important
Public date
Apr 15, 2026, 10:13 AM