Fastify Reply From
Monthly
Request smuggling in @fastify/reply-from before 12.9.1 allows unauthenticated remote clients to desynchronize upstream connections when the plugin uses Node.js's core http transport (the http option, undici: false, or pre-5.0.0 defaults), so the upstream can misread a following request as the unfinished body and execute it outside the proxy's routes, hooks, and authentication. The default undici transport and HTTP/2 path are explicitly not affected, which strongly gates real-world exposure despite the CVSS 9.0 score. The vendor fixed the issue in 12.9.1; no public exploit was identified at the time of analysis.
Path traversal in the @fastify/reply-from Fastify proxy plugin (versions 12.8.1 through 12.8.3) lets an unauthenticated remote client break out of a configured upstream URL prefix that the application builds from attacker-influenced input, such as reply.from('/v1/public/' + req.params['*']). A source string that begins with the base's own special scheme glued to a percent-encoded '../' sequence slips past the per-segment dot-segment check added in 12.8.1, and the proxy forwards the encoded traversal unchanged; the escape only materialises when the upstream server percent-decodes the path before resolving dot-segments, and the assessed vector reflects that dependency (AC:H) rather than a default-configuration exploit. There is no public exploit identified at time of analysis and no KEV listing. The vendor has released 12.8.4, which re-validates dot-segments on the decoded path actually sent upstream; 12.8.0 and earlier already rejected the decoded form, so the exposure window is narrow and upgrading is the only complete fix.
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.
Unauthenticated path traversal in the Fastify plugin @fastify/reply-from (all releases up to and including 12.8.0) lets a crafted request escape a configured upstream prefix and reach other upstream endpoints. The plugin's buildURL() checked proxy paths only for forward-slash dot-segments, but the WHATWG URL parser it then used collapses backslashes and %5c into forward slashes on http, https, ws and wss, so a path containing \..\ or %5c..%5c passes the check and resolves to a different upstream path - an unauthenticated request (PR:N) can therefore slip past prefix scoping or Fastify route guards placed in front of reply.from(). Impact is primarily confidentiality (C:H) with limited integrity effect (I:L); no public exploit identified at time of analysis, and exploitation is conditional on the consuming application concatenating untrusted input into the forwarded path.
TLS certificate verification bypass in @fastify/reply-from versions prior to 12.7.0 allows an on-path attacker to impersonate the configured HTTPS upstream, intercept forwarded credentials and request bodies, and return forged responses. The plugin's built-in HTTPS transports override the secure default by setting rejectUnauthorized to false, so even in the default configuration with an https:// upstream, the proxy fails to validate the upstream's certificate. No public exploit identified at time of analysis. Upgrade to 12.7.0 or apply documented workarounds.
Cross-upstream data exposure in the @fastify/reply-from proxy plugin (versions 8.3.1 through 12.6.3) lets remote unauthenticated attackers read and tamper with data belonging to a different backend by exploiting a URL cache-key collision. Because the cache key concatenates destination and source paths with no delimiter, distinct destination/source pairs resolving to different upstreams can collapse to the same key, so a cached URL for one upstream is served for a request routed to another. The flaw is present in the default configuration; there is no public exploit identified at time of analysis and EPSS is low (0.23%, 14th percentile).
HTTP header smuggling in @fastify/reply-from ≤12.6.1 and @fastify/http-proxy ≤11.4.3 allows remote unauthenticated attackers to strip proxy-added security headers from upstream requests via malicious Connection header values. Attackers can retroactively remove headers intended for routing, access control, or authentication, potentially bypassing proxy-enforced security policies. CVSS 9.0 (Critical) with high integrity impact to both vulnerable and subsequent systems. EPSS 0.04% indicates low mass-exploitation probability despite proof-of-concept availability (SSVC). Vendor patches available: upgrade to @fastify/reply-from ≥12.6.2 or @fastify/http-proxy ≥11.4.4.
fastify-reply-from is an npm package which is a fastify plugin to forward the current http request to another server. Rated critical severity (CVSS 10.0), this vulnerability is remotely exploitable, no authentication required, low attack complexity.
Request smuggling in @fastify/reply-from before 12.9.1 allows unauthenticated remote clients to desynchronize upstream connections when the plugin uses Node.js's core http transport (the http option, undici: false, or pre-5.0.0 defaults), so the upstream can misread a following request as the unfinished body and execute it outside the proxy's routes, hooks, and authentication. The default undici transport and HTTP/2 path are explicitly not affected, which strongly gates real-world exposure despite the CVSS 9.0 score. The vendor fixed the issue in 12.9.1; no public exploit was identified at the time of analysis.
Path traversal in the @fastify/reply-from Fastify proxy plugin (versions 12.8.1 through 12.8.3) lets an unauthenticated remote client break out of a configured upstream URL prefix that the application builds from attacker-influenced input, such as reply.from('/v1/public/' + req.params['*']). A source string that begins with the base's own special scheme glued to a percent-encoded '../' sequence slips past the per-segment dot-segment check added in 12.8.1, and the proxy forwards the encoded traversal unchanged; the escape only materialises when the upstream server percent-decodes the path before resolving dot-segments, and the assessed vector reflects that dependency (AC:H) rather than a default-configuration exploit. There is no public exploit identified at time of analysis and no KEV listing. The vendor has released 12.8.4, which re-validates dot-segments on the decoded path actually sent upstream; 12.8.0 and earlier already rejected the decoded form, so the exposure window is narrow and upgrading is the only complete fix.
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.
Unauthenticated path traversal in the Fastify plugin @fastify/reply-from (all releases up to and including 12.8.0) lets a crafted request escape a configured upstream prefix and reach other upstream endpoints. The plugin's buildURL() checked proxy paths only for forward-slash dot-segments, but the WHATWG URL parser it then used collapses backslashes and %5c into forward slashes on http, https, ws and wss, so a path containing \..\ or %5c..%5c passes the check and resolves to a different upstream path - an unauthenticated request (PR:N) can therefore slip past prefix scoping or Fastify route guards placed in front of reply.from(). Impact is primarily confidentiality (C:H) with limited integrity effect (I:L); no public exploit identified at time of analysis, and exploitation is conditional on the consuming application concatenating untrusted input into the forwarded path.
TLS certificate verification bypass in @fastify/reply-from versions prior to 12.7.0 allows an on-path attacker to impersonate the configured HTTPS upstream, intercept forwarded credentials and request bodies, and return forged responses. The plugin's built-in HTTPS transports override the secure default by setting rejectUnauthorized to false, so even in the default configuration with an https:// upstream, the proxy fails to validate the upstream's certificate. No public exploit identified at time of analysis. Upgrade to 12.7.0 or apply documented workarounds.
Cross-upstream data exposure in the @fastify/reply-from proxy plugin (versions 8.3.1 through 12.6.3) lets remote unauthenticated attackers read and tamper with data belonging to a different backend by exploiting a URL cache-key collision. Because the cache key concatenates destination and source paths with no delimiter, distinct destination/source pairs resolving to different upstreams can collapse to the same key, so a cached URL for one upstream is served for a request routed to another. The flaw is present in the default configuration; there is no public exploit identified at time of analysis and EPSS is low (0.23%, 14th percentile).
HTTP header smuggling in @fastify/reply-from ≤12.6.1 and @fastify/http-proxy ≤11.4.3 allows remote unauthenticated attackers to strip proxy-added security headers from upstream requests via malicious Connection header values. Attackers can retroactively remove headers intended for routing, access control, or authentication, potentially bypassing proxy-enforced security policies. CVSS 9.0 (Critical) with high integrity impact to both vulnerable and subsequent systems. EPSS 0.04% indicates low mass-exploitation probability despite proof-of-concept availability (SSVC). Vendor patches available: upgrade to @fastify/reply-from ≥12.6.2 or @fastify/http-proxy ≥11.4.4.
fastify-reply-from is an npm package which is a fastify plugin to forward the current http request to another server. Rated critical severity (CVSS 10.0), this vulnerability is remotely exploitable, no authentication required, low attack complexity.