CVE-2026-127064 Details
Description
@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.
A path traversal vulnerability has been identified in the @fastify/reply-from plugin, which is used to forward requests to upstream HTTP servers. This vulnerability exists in versions prior to 12.8.4. The issue arises because the plugin's buildURL function rejects parent-directory path segments based on an exact string match. As a result, segments that include a semicolon path parameter, such as '..;', '..;jsessionid=x', or '%2e%2e;', are not recognized as equivalent to the plain '..' form. This allows the segments to pass the traversal check and be forwarded to the upstream server unchanged. The vulnerability can be exploited with backends that strip semicolon path parameters before resolving dot-segments, such as Apache Tomcat, Jetty, WildFly, and Spring Boot. In these cases, the segment is reverted to a parent-directory reference, potentially allowing access to internal paths like admin or API endpoints, especially those with state-changing methods. However, deployments that proxy to Node.js, nginx, or Express upstreams are not affected.
Users are advised to upgrade to @fastify/reply-from version 12.8.4 or later. In version 12.8.4, the buildURL function has been updated to strip semicolon parameters from each decoded path segment before performing the traversal check, effectively rejecting traversal attempts while preserving legitimate matrix parameters. For additional guidance, consult the @fastify/reply-from GitHub repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 19, 2026CISA-ADP
Assessed Nov 19, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://cna.openjsf.org/security-advisories.html | openjs | BundleAdvisory |
| https://github.com/fastify/fastify-reply-from/security/advisories/GHSA-6mph-mjg3-f943 | openjs | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | openjs |
| CWE-436 | Interpretation Conflict | openjs |
Affected Products
| Product | Versions |
|---|---|
| @fastify/reply-from | < 12.8.4 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 19, 2026 | CVE Modified | CISA-ADP |
| Nov 19, 2026 | New CVE Received | openjs |
Volerion