Home › Vulnerabilities › @fastify/reply-from
@fastify/reply-from Path Traversal Flaws Allow Escape From Upstream Prefix, Fixed in 12.8.4
Two HIGH-severity (CVSS 8.2) path traversal flaws in the @fastify/reply-from Fastify proxy plugin can let clients reach paths outside the intended upstream prefix. Both records name version 12.8.4 as the fix.
What to look into
- 2 vulnerabilities in @fastify/reply-from: 2 high (CVSS up to 8.2).
- None of them is known to be exploited yet.
- Start with CVE-2026-130886 (8.2 high): Path Traversal in @fastify/reply-from Plugin. An attacker without an account can exploit this over the network, without any user action.
- 2 of 2 can be attacked over the network without logging in, 2 of them without anyone clicking anything.
- Kinds of flaws: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (×2); Interpretation Conflict.
Key points
- Two HIGH-severity (CVSS 8.2) path traversal flaws in @fastify/reply-from
- CVE-2026-130886 bypasses the 12.8.1 check using a scheme-plus-encoded-dots payload in versions 12.8.1 to 12.8.3
- CVE-2026-127064 uses semicolon path parameters to evade an exact-match check in versions before 12.8.4
- Per the record, the second flaw can reach internal admin or API paths on Tomcat, Jetty, WildFly and Spring Boot backends
- Both records name 12.8.4 as the fixed version; neither states known exploitation
Overview
Two high-severity flaws (both CVSS 8.2, rated HIGH) affect @fastify/reply-from, a Fastify plugin that forwards requests to an upstream HTTP server. Both are path traversal issues in its buildURL function, and both records say the problem is fixed in version 12.8.4. NVD published the records on 2026-11-19.
CVE-2026-130886
According to the record, versions 12.8.1 through 12.8.3 check the source string for parent-directory segments. When the source begins with a special scheme such as http or https, the WHATWG URL parser drops the scheme and treats the rest as a relative path. A value that joins the scheme to a percent-encoded parent-directory sequence passes the check and is forwarded unchanged. If the upstream decodes the path before resolving dot-segments, a client can reach paths outside the configured prefix. The record notes that releases up to 12.8.0 rejected the decoded form.
CVE-2026-127064
This flaw affects all versions before 12.8.4. The check uses an exact string match, so a dot-dot segment carrying a semicolon path parameter is not caught. Per the record, backends such as Apache Tomcat, Jetty, WildFly and Spring Boot strip these parameters before resolving dot-segments. That can let an unauthenticated client reach internal paths, including with state-changing methods. The record states that deployments proxying to Node.js, nginx or Express upstreams are not affected.
Scope and response
Neither record states that either flaw has been exploited. The records do not describe detection methods or workarounds. Upgrading to 12.8.4 is the fix both records name.
What to do
- Upgrade @fastify/reply-from to 12.8.4 or later
- Review which upstream servers sit behind the proxy, since the records say the second flaw depends on backend path handling
The 2 vulnerabilities
- CVE-2026-130886 8.2 CVE-2026-130886: Path Traversal in @fastify/reply-from Plugin
- CVE-2026-127064 8.2 CVE-2026-127064: Path Traversal in @fastify/reply-from Plugin
Frequently asked questions
How many @fastify/reply-from vulnerabilities were published on November 19, 2026?
2 vulnerabilities: 2 high, with CVSS scores up to 8.2.
Are any of them being exploited?
None of them is in CISA's Known Exploited Vulnerabilities catalog yet.
Which one should be fixed first?
CVE-2026-130886 (CVSS 8.2): Path Traversal in @fastify/reply-from Plugin.