Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Web

CVE-2026-130886 — @fastify/reply-from

High · CVSS 8.2EPSS 0.6% First seen November 19, 2026

One of 2 @fastify/reply-from vulnerabilities published together by NVD: our article covers all of them.

WebVulnerabilitiesEndpoint security

Research article

CVE-2026-130886: Path Traversal in @fastify/reply-from Plugin

CVECVE-2026-130886
Vendor and product@fastify/reply-from
PublishedNovember 23, 2026 23:10 UTC
Research cut-offNovember 23, 2026 22:15 UTC
Sources reviewed3: 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 IDVendorProductCWECVSS 3.1PublishedLast ModifiedRecord Status
CVE-2026-130886Fastify@fastify/reply-fromCWE-228.2 HIGH, scored by ce714d77-add3-4f53-aff5-83d477b104bb2026-11-192026-11-19Deferred

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 VersionFixed Version
@fastify/reply-from ≥ 12.8.1, < 12.8.412.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

  1. Upgrade @fastify/reply-from to version 12.8.4 or later [1]
  2. 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

  1. 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. CVE-2026-130886 record; CVSS scores; affected versions; description; remediation
  2. 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. Exploitation status
  3. 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. EPSS score and threat intelligence status

Written with AI assistance from the 3 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

High · 8.2 CVSS 3.1 base score from the CNA

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

Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Affected and fixed versions

ProductAffected versionsFixed in
@fastify/reply-from≥ 12.8.1, < 12.8.412.8.4

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Other references

Details from NVD (public domain).

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