Skip to main content

Fastify HTTP Proxy CVE-2026-127060

| EUVDEUVD-2026-130504 MEDIUM
Path Traversal (CWE-22)
2026-11-19 openjs
6.5
CVSS 3.1 · Vendor: openjs
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send request with '..;'-style segment to proxy prefix
  2. Delivery
    Bypass validateDestination exact-match '..' check
  3. Exploit
    Pass rewritePrefix containment via WHATWG parser
  4. Execution
    Servlet upstream strips ';' and resolves dot-segment
  5. Impact
    Read resources above intended subtree or cross webapp context

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the proxy to forward to an upstream that strips ';' path parameters from each segment before resolving dot-segments - specifically servlet containers such as Apache Tomcat or Jetty (or software embedding them); Node.js, nginx, and Express upstreams are not affected, and Spring applications using Spring Security's StrictHttpFirewall reject ';' and are not affected. The proxy must be configured with a prefix/rewritePrefix mapping, and the attacker sends a crafted path containing a '..;', '..;jsessionid=x', or '%2e%2e;' segment. No authentication is required (PR:N) and no user interaction is needed. A key limiting factor: for plain HTTP the request is additionally validated by @fastify/reply-from (its own advisory), so the WebSocket upgrade path - proxied directly and relying only on validateDestination() - is the most reliably exploitable surface. The only complete fix is upgrading to 11.6.10; interim workarounds per the advisory are rejecting requests whose decoded path contains ';' in front of the proxy (e.g. an onRequest hook) or configuring the servlet upstream to reject path parameters.

Impact

This is a genuine but conditional, mid-severity issue rather than a top-tier emergency. The provided CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N, base 6.5 Medium) indicates a network-reachable, unauthenticated flaw (PR:N) but with high attack complexity (AC:H), which here reflects the real dependency on the upstream being a servlet container that strips semicolon path parameters before resolving dot-segments - not an attacker race or timing condition. No EPSS score, KEV listing, or confirmed working exploit code is present in the input, and the vuln.today Decision label is 'this_month' (not act_now/emergency), so none of the escalation signals point to active, widespread exploitation. The upstream GHSA advisory is authoritative and documents the exact bypass and an example request, so the mechanism is well understood, but exploitability is gated: only Apache Tomcat/Jetty-style upstreams are affected, while Node.js, nginx, Express, and Spring with StrictHttpFirewall are not. Net priority: patch in the normal monthly cycle, prioritized higher for deployments that actually proxy to Tomcat/Jetty and especially for WebSocket proxying, which relies solely on the flawed validateDestination() check.

Exploit ScenarioDerived

An attacker sends a request through a proxied prefix (e.g. /pub/..;/admin/secret to a proxy with prefix '/pub', rewritePrefix '/internal'); validateDestination()'s exact-match '..' check fails to catch the '..;' segment and the WHATWG URL parser treats it as a normal segment, so it passes containment. The servlet upstream (Tomcat/Jetty) then strips the ';' parameter and resolves the dot-segment, serving content above the intended subtree and, on Tomcat, potentially across webapp contexts. No confirmed working exploit code is provided, but the advisory includes a concrete example request illustrating the technique.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 19, 2026

Path traversal prefix escape in @fastify/http-proxy before 11.6.10 lets remote attackers reach upstream paths outside the subtree a configured proxy prefix is meant to expose, but only when the upstream is a servlet container such as Apache Tomcat or Jetty. The plugin's validateDestination() compares path segments to '..' with an exact string match, so a segment such as '..;', '..;jsessionid=x' or '%2e%2e;' passes the check, while the servlet container strips the ';' path parameter and then resolves the dot-segment; both the HTTP and WebSocket proxy paths are affected, and the WebSocket upgrade path is the more reliably exploitable surface because plain HTTP requests are additionally validated by @fastify/reply-from. CVSS 3.1 scores this 6.5 (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N), no public exploit code was identified at time of analysis, and the vendor has released a fix in 11.6.10.

RemediationAI

Vendor-released patch: upgrade @fastify/http-proxy to 11.6.10 or later, which strips ';' parameters from each decoded path segment before the '..' check, rejecting '..;'-style traversal while still permitting legitimate matrix parameters; the advisory at https://github.com/fastify/fastify-http-proxy/security/advisories/GHSA-7mjf-mp6r-87p8 states that upgrading is the only complete fix, and operators should also apply the corresponding @fastify/reply-from advisory for the plain-HTTP path. If upgrading cannot be done immediately, the advisory's interim workarounds are to reject requests whose decoded path contains a ';' in front of the proxy - for example in an onRequest hook - at the cost of breaking legitimate semicolon matrix parameters and URL-based session ID rewriting such as jsessionid for clients that rely on them, or to configure the servlet upstream to reject path parameters, at the cost of changing behavior for any application that legitimately uses them. Triage can be narrowed by inventory: proxies whose upstream is Node.js, nginx or Express, or Spring apps behind StrictHttpFirewall, do not exhibit the described escape, so effort should focus first on Tomcat/Jetty-backed deployments, and particularly on those exposing WebSocket upgrade routes where @fastify/reply-from's additional HTTP validation does not apply.

Affected VersionsENISA

@fastify/http-proxy 0 <11.6.10

Affected Packages

euvd fastify_http_proxy fix: 11.6.10

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is a path-equivalence (CWE-22 path traversal combined with CWE-436 interpretation conflict) between @fastify/http-proxy and servlet-container upstreams. The proxy validates destinations in validateDestination() by comparing each segment against the literal string '..', and then performs a rewritePrefix containment check in resolveDestination() using the WHATWG URL parser. The WHATWG parser does not treat ';' as a path-parameter delimiter, so '..;', '..;jsessionid=x' and '%2e%2e;' remain ordinary single segments: they are not equal to '..', they are not collapsed as dot-segments, and the containment check therefore passes. Apache Tomcat, Jetty and software embedding them do treat ';' as a per-segment path-parameter delimiter and strip it before resolving dot-segments, so a request such as /pub/..;/admin/secret through a proxy configured with prefix '/pub' and rewritePrefix '/internal' arrives upstream as /internal/..;/admin/secret and is served from /admin/secret. On Tomcat the escape can additionally cross webapp contexts. The trigger only manifests against upstreams that apply that semicolon-stripping order of operations; Node.js, nginx and Express upstreams are not affected, and Spring applications using Spring Security's StrictHttpFirewall reject ';' and are not affected. Because WebSocket upgrades are proxied directly by @fastify/http-proxy on validateDestination() alone, while plain HTTP requests also traverse @fastify/reply-from's own validation (covered by a separate reply-from advisory), the WebSocket path is the more reliably reachable exploitation surface.

Know when Tomcat gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (openjs) PRIMARY 6.5 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
vuln.today AI 6.5 MEDIUM

Network-reachable and unauthenticated (AV:N/PR:N), but AC:H because exploitation depends on a specific semicolon-stripping servlet upstream; C:H for reading protected resources, I:L for limited write/routing impact, A:N.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
Red Hat 6.5 MEDIUM

Primary rating from Vendor (openjs).

CVSS VectorVendor: openjs

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None

Lifecycle Timeline

2
Patch available
Nov 19, 2026 - 20:04 EUVD
CVE Published
Nov 19, 2026 - 18:18 cve.org
MEDIUM 6.5

DescriptionCVE.org

@fastify/http-proxy is a Fastify plugin that proxies HTTP and WebSocket traffic to an upstream server. In versions before 11.6.10, it rejects destinations containing parent-directory path segments by an exact string match, so a segment that carries a semicolon path parameter, such as a dot-dot segment followed by a semicolon and an optional parameter, is not equal to the plain dot-dot form and passes the check, and the WHATWG URL parser keeps it as an ordinary segment so the rewrite-prefix containment check also passes. Servlet containers such as Apache Tomcat and Jetty strip semicolon path parameters from each segment before resolving dot-segments, so a request routed through the configured prefix is rewritten and reaches the upstream where it resolves above the intended subtree, escaping the path the proxy is meant to expose and, on some containers, crossing application contexts. Both the HTTP and WebSocket proxy paths are affected. The issue is fixed in @fastify/http-proxy 11.6.10, and users should upgrade to 11.6.10 or later.

Threat Intelligence Overview

EPSS Score
0.3%
Top 76% exploitable
Prevalence
Medium
popular Fastify proxy plugin, but impact needs a servlet-container upstream
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

More in Tomcat

View all
CVE-2017-12617 HIGH POC
8.1 Oct 04

When running Apache Tomcat versions 9.0.0.M1 to 9.0.0, 8.5.0 to 8.5.22, 8.0.0.RC1 to 8.0.46 and 7.0.0 to 7.0.81 with HTT

CVE-2020-1938 CRITICAL POC
9.8 Feb 24

When using the Apache JServ Protocol (AJP), care must be taken when trusting incoming connections to Apache Tomcat. Rate

CVE-2023-47246 CRITICAL POC
9.8 Nov 10

In SysAid On-Premise before 23.3.36, a path traversal vulnerability leads to code execution after an attacker writes a f

CVE-2016-8735 CRITICAL POC
9.8 Apr 06

Remote code execution is possible with Apache Tomcat before 6.0.48, 7.x before 7.0.73, 8.x before 8.0.39, 8.5.x before 8

CVE-2017-12615 HIGH POC
8.1 Sep 19

When running Apache Tomcat 7.0.0 to 7.0.79 on Windows with HTTP PUTs enabled (e.g. Rated high severity (CVSS 8.1), this

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2019-0232 HIGH POC
8.1 Apr 15

When running on Windows with enableCmdLineArguments enabled, the CGI Servlet in Apache Tomcat 9.0.0.M1 to 9.0.17, 8.5.0

CVE-2014-0050 HIGH POC
7.5 Apr 01

MultipartStream.java in Apache Commons FileUpload before 1.3.1, as used in Apache Tomcat, JBoss Web, and other products,

CVE-2020-13935 HIGH POC
7.5 Jul 14

The payload length in a WebSocket frame was not correctly validated in Apache Tomcat 10.0.0-M1 to 10.0.0-M6, 9.0.0.M1 to

CVE-2018-11784 MEDIUM POC
4.3 Oct 04

When the default servlet in Apache Tomcat versions 9.0.0.M1 to 9.0.11, 8.5.0 to 8.5.33 and 7.0.23 to 7.0.90 returned a r

CVE-2022-29885 HIGH POC
7.5 May 12

The documentation of Apache Tomcat 10.1.0-M1 to 10.1.0-M14, 10.0.0-M1 to 10.0.20, 9.0.13 to 9.0.62 and 8.5.38 to 8.5.78

CVE-2017-12616 HIGH
7.5 Sep 19

When using a VirtualDirContext with Apache Tomcat 7.0.0 to 7.0.80 it was possible to bypass security constraints and/or

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy