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) that compromises 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. No EPSS score is published, and the vulnerability is not listed in the CISA KEV catalog, but its severity and the straightforward nature of the attack vector make it 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 15, 2026 at 11:26 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 15, 2026 at 11:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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 : Received

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

Modified: 2026-04-15T14:16:15.507

Link: CVE-2026-33805

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-15T14:53:03Z

Weaknesses