Description
@fastify/http-proxy versions before 11.6.2 do not validate proxied HTTP request paths for backslash based dot-segments before forwarding them to the configured upstream. The plain HTTP request handler skips the destination validation that the WebSocket path performs, and the underlying reply-from library only rejects forward-slash traversal, so a request containing backslash dot-segments can escape the boundary set by the prefix and rewritePrefix options. An unauthenticated network attacker can use this to reach upstream paths that were meant to stay hidden behind the proxy, resulting in disclosure of internal endpoints. This is a path traversal issue (CWE-22). Users should upgrade to @fastify/http-proxy 11.6.2 or later.
Published: 2026-09-03
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability in @fastify/http-proxy prior to version 11.6.2 allows an attacker to craft HTTP requests containing backslash-based dot segments. Because the plain HTTP request handler does not validate these segments against the configured prefix or rewritePrefix boundaries, and the underlying reply-from library only rejects forward slash traversal, the proxy can forward requests that escape the intended path limiting. This results in an attacker being able to access upstream endpoints that should remain hidden behind the proxy, leading to disclosure of internal resources. This is a classic path traversal flaw (CWE-22).

Affected Systems

The affected product is the @fastify/http-proxy middleware library, specifically all releases before 11.6.2. Users of any unsupported version including 11.5, 11.6.1, and earlier are vulnerable.

Risk and Exploitability

The CVSS score of 7.5 indicates a high severity vulnerability. While the EPSS score is not available, the ability to perform the attack through simple, unauthenticated network requests increases the potential for real‑world exploitation. The vulnerability is not listed in the CISA KEV catalog, but its ability to expose internal endpoints without authentication provides a substantial risk to any service relying on the proxy to conceal internal APIs.

Generated by OpenCVE AI on September 3, 2026 at 12:49 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade @fastify/http-proxy to version 11.6.2 or later.
  • If an immediate upgrade is not possible, restrict proxy access to trusted internal hosts or enforce authentication so that only authorized traffic can reach the proxy.
  • Add custom path validation or adjust rewritePrefix configuration to reject requests containing backslash-based dot segments.
  • As a temporary measure, remove or disable the proxy routes that expose sensitive services until the patch is deployed.

Generated by OpenCVE AI on September 3, 2026 at 12:49 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 03 Sep 2026 16:00:00 +0000

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

Thu, 03 Sep 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 03 Sep 2026 11:00:00 +0000

Type Values Removed Values Added
Description @fastify/http-proxy versions before 11.6.2 do not validate proxied HTTP request paths for backslash based dot-segments before forwarding them to the configured upstream. The plain HTTP request handler skips the destination validation that the WebSocket path performs, and the underlying reply-from library only rejects forward-slash traversal, so a request containing backslash dot-segments can escape the boundary set by the prefix and rewritePrefix options. An unauthenticated network attacker can use this to reach upstream paths that were meant to stay hidden behind the proxy, resulting in disclosure of internal endpoints. This is a path traversal issue (CWE-22). Users should upgrade to @fastify/http-proxy 11.6.2 or later.
Title @fastify/http-proxy vulnerable to prefix escape via backslash dot-segments
Weaknesses CWE-22
References
Metrics cvssV3_1

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


Subscriptions

Fastify Fastify-http-proxy
cve-icon MITRE

Status: PUBLISHED

Assigner: openjs

Published:

Updated: 2026-09-03T12:32:56.358Z

Reserved: 2026-09-03T08:15:18.564Z

Link: CVE-2026-85124

cve-icon Vulnrichment

Updated: 2026-09-03T12:32:49.123Z

cve-icon NVD

Status : Undergoing Analysis

Published: 2026-09-03T13:06:21.773

Modified: 2026-09-03T18:11:49.487

Link: CVE-2026-85124

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-03T15:33:17Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')