CVE-2026-130886 — @fastify/reply-from
One of 2 @fastify/reply-from vulnerabilities published together by NVD: our article covers all of them.
WebVulnerabilitiesEndpoint securityResearch article
CVE-2026-130886: Path Traversal in @fastify/reply-from Plugin
| CVE | CVE-2026-130886 |
|---|---|
| Vendor and product | @fastify/reply-from |
| Published | November 23, 2026 23:10 UTC |
| Research cut-off | November 23, 2026 22:15 UTC |
| Sources reviewed | 3: NVD record (last modified 2026-11-19); CISA KEV catalog; FIRST EPSS (2026-11-22) |
Executive summary
In releases 12.8.1 to 12.8.3 of the plugin, a client lacking authentication and limited to a single upstream path root can break out of that root via a directory traversal defect [1]. The CVSS 3.1 score is 8.2 HIGH, with a vector of AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N, scored by ce714d77-add3-4f53-aff5-83d477b104bb [1]. The vulnerability affects versions 12.8.1 through 12.8.3 and is fixed in 12.8.4 [1]. The reviewed sources do not report exploitation [2]. Users should upgrade to 12.8.4 or later to address the issue [1].
Key points
- CVE-2026-130886 affects @fastify/reply-from versions 12.8.1 through 12.8.3 [1]
- The CVSS 3.1 score is 8.2 HIGH, with a vector of AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N [1]
- The vulnerability allows unauthenticated attackers to bypass directory restrictions through a path traversal flaw [1]
- The reviewed sources do not report exploitation [2]
- Users should upgrade to @fastify/reply-from 12.8.4 or later to address the issue [1]
Vulnerability identification
| CVE ID | Vendor | Product | CWE | CVSS 3.1 | Published | Last Modified | Record Status |
|---|---|---|---|---|---|---|---|
| CVE-2026-130886 | Fastify | @fastify/reply-from | CWE-22 | 8.2 HIGH, scored by ce714d77-add3-4f53-aff5-83d477b104bb | 2026-11-19 | 2026-11-19 | Deferred |
Vulnerability description
The @fastify/reply-from plugin, which forwards HTTP requests to an upstream server, failed to properly validate the source string in its buildURL function. This allowed an attacker to bypass directory restrictions by using a crafted payload that combines a scheme with a percent-encoded parent-directory sequence [1]. The proxy forwards the encoded traversal unchanged, which could lead to unauthorized access to upstream endpoints [1].
Attack surface and exploitation prerequisites
According to the CVSS vector, the vulnerability requires no user interaction and can be exploited over the network without any privileges [1]. Per S1, an upstream server that URL-decodes the incoming path prior to normalizing dot segments would return a resource beyond the configured prefix [1].
Impact analysis
The CVSS vector indicates that the vulnerability has high impact on confidentiality, low impact on integrity, and no impact on availability [1]. This defect lets a client without credentials break out of the upstream root and access neighboring or ancestor upstream routes [1].
Affected products and versions
| Affected Version | Fixed Version |
|---|---|
| @fastify/reply-from ≥ 12.8.1, < 12.8.4 | 12.8.4 |
Exploitation and threat intelligence status
CVE-2026-130886 is not listed in the CISA Known Exploited Vulnerabilities Catalog as of 2026-11-23 [2]. The EPSS score for this CVE is 0.53%, indicating a low probability of exploitation within the next 30 days [3].
Detection and exposure assessment
Users should check if their installed version of @fastify/reply-from falls within the affected range (≥ 12.8.1, < 12.8.4) [1]. There are no detection steps provided by the sources [1].
Remediation
The vulnerability is fixed in @fastify/reply-from 12.8.4, and users should upgrade to this version or later [1].
Remediation checklist
- Upgrade @fastify/reply-from to version 12.8.4 or later [1]
- Reviewing the configuration of upstream endpoints to ensure they do not process percent-decoded paths is general guidance, not advice given in the sources.
Evidence gaps
- The sources do not describe the affected component's internals.
- The sources do not mention a workaround.
- The sources do not describe a scenario in which the vulnerability is exploited.
- The sources do not provide indicators of compromise.
- The sources do not list a fixed version for all affected products.
References
- CVE-2026-130886 record. NIST National Vulnerability Database (NVD), 2026-11-19. https://nvd.nist.gov/vuln/detail/CVE-2026-130886. Accessed 2026-11-23.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-23. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-23.
- EPSS score for CVE-2026-130886. FIRST, 2026-11-22. https://api.first.org/data/v1/epss?cve=CVE-2026-130886. Accessed 2026-11-23.
Summary
@fastify/reply-from is a Fastify plugin that forwards requests to an upstream HTTP server. In versions 12.8.1 through 12.8.3, its buildURL function checked the attacker-supplied source string for parent-directory segments, but when the source begins with the same special scheme as the base, such as http or https, the WHATWG URL parser drops the scheme and resolves the remainder as a relative path. A payload that glues the scheme to a percent-encoded parent-directory sequence therefore passes the check, because the inspected segment reads as the scheme plus the dots rather than a bare parent-directory token, while the proxy forwards the encoded traversal unchanged. An upstream that percent-decodes the request path before resolving dot-segments then serves a path outside the configured prefix, so an unauthenticated client scoped to an upstream prefix, or relying on Fastify route guards in front of the proxy, can escape that prefix and reach sibling or parent upstream endpoints. The per-segment check added in 12.8.1 is what the scheme prefix bypasses, and releases up to 12.8.0 already rejected the decoded form. The issue is fixed in @fastify/reply-from 12.8.4, and users should upgrade to 12.8.4 or later.
Severity breakdown
High · 8.2
An attacker without an account can exploit this over the network, without any user action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- no
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- high on confidentiality, low on integrity, none on availability
Weakness
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| @fastify/reply-from | ≥ 12.8.1, < 12.8.4 | 12.8.4 |
References by type
Vendor advisories
Other references
Affected
- @fastify/reply-from
Frequently asked questions
What is CVE-2026-130886?
In releases 12.8.1 to 12.8.3 of the plugin, a client lacking authentication and limited to a single upstream path root can break out of that root via a directory traversal defect. The CVSS 3.1 score is 8.2 HIGH, with a vector of AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N, scored by ce714d77-add3-4f53-aff5-83d477b104bb. The vulnerability affects versions 12.8.1 through 12.8.3 and is fixed in 12.8.4. Weakness type: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (CWE-22).
How severe is CVE-2026-130886?
CVE-2026-130886 has a CVSS 3.1 base score of 8.2 (high), from the CNA. An attacker without an account can exploit this over the network, without any user action.
Is CVE-2026-130886 being exploited?
Not as far as is known: CVE-2026-130886 is not in CISA's Known Exploited Vulnerabilities catalog as of November 28, 2026. EPSS estimates a 0.6% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-130886?
@fastify/reply-from ≥ 12.8.1, < 12.8.4 (fixed in 12.8.4).
How do I fix CVE-2026-130886?
Upgrade @fastify/reply-from to version 12.8.4 or later. Reviewing the configuration of upstream endpoints to ensure they do not process percent-decoded paths is general guidance, not advice given in the sources.
Timeline & sources
References
Related vulnerabilities & news
- Heym Before 0.0.154 Cross-Site Request Forgery Vulnerability
- CVE-2026-136995 — wpswings Upsell Funnel Builder for WooCommerce – Create Upsells, Cross-Sells, Order Bumps, Frequently Bought, and Popups.
- CVE-2026-119071 — boldgrid W3 Total Cache
- SumUp Payment Gateway For WooCommerce Vulnerable to Insecure Direct Object Reference
- ZarinPal WooCommerce Plugin Vulnerable to Insecure Direct Object Reference