Skip to main content

@fastify/reply-from EUVDEUVD-2026-130497

| CVE-2026-127064 HIGH
Path Traversal (CWE-22)
2026-11-19 openjs
8.2
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 '..;jsessionid=x' segment
  2. Delivery
    Bypass exact-match '..' traversal check
  3. Exploit
    Pass base-prefix containment via URL parser
  4. Execution
    Servlet upstream strips ';' and resolves parent dir
  5. Impact
    Reach hidden admin/internal API endpoint with chosen method

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's upstream to be a Java servlet container that strips ';' path-parameters before resolving dot-segments - specifically Apache Tomcat (verified against 9.0.123), Jetty, WildFly, or Spring Boot - and the application must scope proxying to an upstream prefix the attacker is meant to be confined to. The flaw is unauthenticated (CVSS PR:N) and needs no user interaction. Key LIMITING factor: deployments proxying to Node.js, nginx, or Express upstreams are not affected at all, because those backends do not treat ';' as a path-parameter delimiter. Workarounds per the advisory: reject requests whose decoded path contains ';' in front of the proxy (e.g., an onRequest hook), or configure the servlet upstream to reject path parameters; upgrading to 12.8.4 is the complete fix.

Impact

The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, base 8.2) presents this as a remotely reachable, unauthenticated, low-complexity path traversal with high confidentiality and low integrity impact. However, the real-world risk is strongly conditional: the advisory confirms exploitation ONLY succeeds when the proxied upstream is a Java servlet container (Apache Tomcat, Jetty, WildFly, Spring Boot) that strips semicolon path-parameters before resolving dot-segments - deployments proxying to Node.js, nginx, or Express are explicitly not affected. This dependency on an attacker-uncontrolled deployment property means the practical attack complexity is higher than the input's AC:L suggests, so my independent assessment uses AC:H (3.1) / AT:P (4.0). No EPSS score, KEV listing, or SSVC decision string was supplied; exploitation status is 'no public exploit identified at time of analysis' (the GHSA advisory is an informational reference, not verified working exploit code), though the maintainer verified the technique against Tomcat 9.0.123 and the advisory gives a reproducible recipe. The vuln.today priority label is 'this_week', consistent with a serious-but-conditional issue rather than an emergency. Net: a genuine priority for anyone fronting a Java servlet backend with this plugin, but lower real risk for the (large) population proxying to non-servlet upstreams. Note the input Tags list Node.js and Nginx, which the description names as NOT affected - treat those tags as context, not as indicating impact.

Exploit ScenarioDerived

An unauthenticated attacker sends a crafted request to a Fastify service using @fastify/reply-from (<12.8.4) that proxies to an Apache Tomcat backend, embedding a segment like '..;jsessionid=x' or '%2e%2e;'. The buildURL traversal check compares against the literal '..' and the WHATWG URL parser keeps the segment intact, so it is forwarded unchanged; Tomcat then strips the ';' parameter, turns it back into '..', and resolves it, letting the attacker escape the intended upstream prefix to reach internal/admin endpoints - including with state-changing non-GET methods. No public exploit code is identified, but the advisory documents a reproduction verified against Tomcat 9.0.123.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% 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 in the Fastify proxy plugin @fastify/reply-from before 12.8.4 lets an unauthenticated remote client escape an intended upstream URL prefix and reach internal paths such as admin or internal API endpoints, including via state-changing HTTP methods. The plugin's buildURL() rejects only a literal '..' segment, so a segment carrying a semicolon path parameter (e.g. '..;', '..;jsessionid=x', '%2e%2e;') slips past the traversal check and the WHATWG URL parser leaves it intact, after which a Java servlet upstream that strips ';' parameters resolves it back into a parent-directory reference. Only deployments proxying to Apache Tomcat (verified against 9.0.123), Jetty, WildFly or Spring Boot are affected; upstreams running Node.js, nginx or Express do not treat ';' as a delimiter and are not exploitable. No public exploit code has been identified at time of analysis and the issue is not in CISA KEV, but exploitation is unauthenticated and requires no user interaction, so exposure depends entirely on whether a semicolon-parsing servlet sits behind the proxy; the vendor-released fix is 12.8.4.

RemediationAI

Vendor-released patch: @fastify/reply-from 12.8.4, which now strips ';' parameters from each decoded path segment before the traversal check; upgrade to 12.8.4 or later (advisory: https://github.com/fastify/fastify-reply-from/security/advisories/GHSA-6mph-mjg3-f943). Where upgrading is not immediately possible, the advisory offers two workarounds. First, reject requests whose decoded path contains a ';' before they reach the proxy, for example in an onRequest hook - effective and simple, but it also blocks legitimate matrix parameters and ';jsessionid=' URL-based session tracking, which can break applications that rely on them. Second, configure the servlet upstream (Tomcat, Jetty, WildFly, Spring Boot) to reject semicolon path parameters - this targets the root of the traversal but may break any backend endpoints that legitimately consume matrix parameters. Neither workaround is a full substitute for the 12.8.4 upgrade, which the vendor describes as the complete fix.

Affected VersionsENISA

@fastify/reply-from 0 <12.8.4

Affected Packages

euvd fastify_reply_from fix: 12.8.4

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 root cause is an interpretation conflict (CWE-436) that produces a path traversal (CWE-22). @fastify/reply-from's buildURL() performed its parent-directory rejection by exact string comparison against '..', so any segment where '..' is followed by a semicolon and an optional parameter - '..;', '..;jsessionid=x', or percent-encoded '%2e%2e;' - is not string-equal to '..' and passes the check. The WHATWG URL parser also treats such a segment as an ordinary path segment rather than a dot-segment, so the subsequent base-prefix containment check passes as well and the request is forwarded upstream unchanged. Semicolons introduce matrix/path parameters defined as sub-delimiters in RFC 3986; the Java Servlet specification requires containers to strip them before mapping and normalizing the request path. Consequently, on Apache Tomcat, Jetty, WildFly and Spring Boot the forwarded '..;' segment is reduced to '..' and resolved as a parent-directory reference at the backend, escaping the prefix the proxy was meant to confine traffic to. The advisory reports verification against Apache Tomcat 9.0.123 and confirms non-GET methods are forwarded, making state-changing internal endpoints reachable. Node.js, nginx and Express upstreams do not implement semicolon path-parameter stripping, which is why deployments proxying to them are unaffected. The fix in 12.8.4 strips ';' parameters from each decoded path segment before the traversal check while leaving the forwarded path and legitimate matrix parameters unchanged.

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 8.2 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
vuln.today AI 6.5 MEDIUM

Unauthenticated network request (PR:N), but success depends on an attacker-uncontrolled servlet-container upstream, so AC:H; C:H for reaching hidden endpoints, I:L for forwarded state-changing methods, 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

Primary rating from Vendor (openjs).

CVSS VectorVendor: openjs

Attack Vector
Network
Attack Complexity
Low
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:03 cve.org
HIGH 8.2

DescriptionCVE.org

@fastify/reply-from is a Fastify plugin that forwards requests to an upstream HTTP server. In versions before 12.8.4, its buildURL function rejects 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 traversal check, and the WHATWG URL parser keeps it as an ordinary segment so the base-prefix containment check also passes. Backends that strip semicolon path parameters before resolving dot-segments, such as Apache Tomcat, Jetty, WildFly, and Spring Boot, turn the segment back into a parent-directory reference and resolve it, so an unauthenticated client can escape the intended upstream prefix and reach internal paths such as admin or internal API endpoints, including with state-changing methods. Deployments that proxy to Node.js, nginx, or Express upstreams are not affected. The issue is fixed in @fastify/reply-from 12.8.4, and users should upgrade to 12.8.4 or later.

Technical POC Analysis

CWE-22 (path traversal), with a CWE-436 interpretation conflict as the enabling mechanism.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A high-severity path traversal flaw (CVE-2026-127064) in the @fastify/reply-from proxy plugin (versions before 12.8.4) allows unauthenticated remote clients to escape the configured upstream URL prefix and reach internal admin or internal API endpoints, including through state-changing HTTP requests. Only organizations proxying through Java servlet upstreams (Tomcat, Jetty, WildFly, or Spring Boot) are exposed; Node.js, nginx, and Express upstreams are not affected. Leadership should care because an external attacker could reach privileged internal functions without credentials, potentially enabling unauthorized configuration or data changes in affected deployments.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; interim mitigations include blocking requests with semicolon path parameters or encoded traversal sequences at the WAF/edge, restricting affected proxy routes to read-only HTTP methods, and disabling or isolating the affected proxy path until upgrade to 12.8.4 is possible.

Threat Intelligence Overview

EPSS Score
0.4%
Top 69% exploitable
Prevalence
Medium
popular Fastify proxy plugin, but only Java servlet-container upstreams are exploitable
Data Quality
4 sources
Confidence: Medium

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 HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

41
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +41
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

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