Path traversal in @fastify/reply-from via semicolon path parameters
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
@fastify/reply-from before 12.8.4 has a path traversal flaw (CWE-22) in its buildURL function. The check for parent-directory segments matches only the exact form, so a dot-dot segment carrying a semicolon path parameter passes. An unauthenticated remote client can reach internal paths on backends such as Apache Tomcat, Jetty, WildFly, or Spring Boot that strip semicolon parameters, including with state-changing methods.
Written with Claude Haiku 5.5 from the sources below · 2026-11-19
Description from the CNA
@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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| @fastify/reply-from | @fastify/reply-from | before 12.8.4 | 12.8.4 | Patch available | CNA |
- @fastify/reply-from Vendor@fastify/reply-from Affected before 12.8.4 Fixed in 12.8.4 Patch available CNA
Remediation
Upgrade @fastify/reply-from to 12.8.4 or later, which fixes the issue.
Written with Claude Haiku 5.5 from the sources below · 2026-11-19
- Fix · CNA @fastify/reply-from (@fastify/reply-from) Fixed in 12.8.4
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
@fastify/reply-from 12.8.4
2 records Highest priority Priority MEDIUM 1 MEDIUM, 1 LOW
Other records, highest priority first
- TI-2026-95072 Path traversal in @fastify/reply-from bypasses upstream prefix checksPriority LOW 36
Timeline
- 2026-11-19 Threatist record created from CVE-2026-127064
- 2026-11-19 CISA SSVC decision points changed
References
More @fastify/reply-from vulnerabilities
- TI-2026-83785 Path traversal in @fastify/reply-from via backslash dot-segments CVSS 3.1HIGH 8.2
- TI-2026-95966 Request smuggling in @fastify/reply-from via forwarded Content-Length CVSS 3.1CRITICAL 9.0
- TI-2026-95072 Path traversal in @fastify/reply-from bypasses upstream prefix checks CVSS 3.1HIGH 8.2
- TI-2026-69753 Improper certificate validation in @fastify/reply-from transports CVSS 3.1HIGH 7.4
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences