CVE-2026-130886

Source
https://cve.org/CVERecord?id=CVE-2026-130886
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-130886.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-130886
Aliases
  • GHSA-2ccw-8rvh-6cmg
Published
2026-11-19T18:06:00Z
Modified
2026-11-19T20:00:12Z
Severity
  • 8.2 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N CVSS Calculator
Summary
@fastify/reply-from vulnerable to path traversal via scheme-prefixed encoded dot-segments
Details

@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.

Database specific
{
    "cna_assigner":  "openjs",
    "cwe_ids":  [
        "CWE-22"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130886.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "introduced":  "12.8.1"
                        },
                        {
                            "fixed":  "12.8.4"
                        }
                    ],
                    "source":  "AFFECTED_FIELD",
                    "strategy":  "StandardRange"
                }
            ]
        },
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "introduced":  "12.8.1"
                        },
                        {
                            "last_affected":  "12.8.3"
                        }
                    ],
                    "source":  "DESCRIPTION"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/fastify/fastify-reply-from

Affected ranges

Type
GIT
Repo
https://github.com/fastify/fastify-reply-from
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last Affected
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "last_affected":  "12.8.0"
                }
            ],
            "source":  "DESCRIPTION"
        }
    ]
}

Affected versions

v0.*
v0.1.0
v0.2.0
v0.3.0
v0.4.0
v0.4.1
v0.4.3
v0.4.4
v0.4.5
v0.4.6
v0.5.0
v0.5.2
v0.5.3
v0.5.4
v0.6.0
v0.6.1
v0.6.2
v1.*
v1.0.0
v1.1.0
v10.*
v10.0.0
v11.*
v11.0.0
v11.0.1
v11.0.2
v12.*
v12.0.0
v12.0.1
v12.0.2
v12.1.0
v12.2.0
v12.3.0
v12.3.1
v12.4.0
v12.5.0
v12.6.1
v12.6.2
v12.6.3
v12.6.4
v12.6.5
v12.7.0
v12.7.1
v12.8.0
v2.*
v2.0.0
v2.0.1
v2.2.0
v3.*
v3.0.0
v3.1.0
v3.1.1
v3.1.2
v3.1.3
v3.1.4
v3.2.0
v3.3.0
v3.4.0
v3.5.0
v4.*
v4.0.0
v4.18.0
v5.*
v5.0.0
v5.0.1
v5.0.2
v5.1.0
v5.2.0
v5.3.0
v6.*
v6.0.0
v6.0.1
v6.1.0
v6.2.0
v6.3.0
v6.4.0
v6.4.1
v6.4.2
v6.4.3
v6.5.0
v6.6.0
v7.*
v7.0.0
v7.0.1
v8.*
v8.0.0
v8.1.0
v8.2.0
v8.2.1
v8.3.0
v8.3.1
v8.4.0
v8.4.1
v8.4.2
v8.4.3
v9.*
v9.0.0
v9.0.1
v9.0.2
v9.1.0
v9.2.0
v9.3.0
v9.4.0
v9.5.0
v9.6.0
v9.7.0
v9.8.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-130886.json"