CVE-2026-117518

Source
https://cve.org/CVERecord?id=CVE-2026-117518
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-117518.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-117518
Aliases
  • GHSA-vp2r-3vgv-32g9
Published
2026-11-02T10:39:22Z
Modified
2026-11-04T02:47:25Z
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 backslash dot-segment prefix escape
Details

@fastify/reply-from is a Fastify plugin that forwards requests to an upstream HTTP server. In versions up to and including 12.8.0, the plugin validated proxy paths against forward-slash dot-segments only and then built the target with the WHATWG URL parser, which normalizes a backslash and its percent-encoded form to a forward slash on the http, https, ws, and wss schemes. A path that uses backslash dot-segments therefore bypasses the traversal check and resolves to a different upstream path, so an application that scopes proxying to an upstream prefix, or relies on route guards in front of the forwarding call, can have an unauthenticated request escape the intended prefix and reach other upstream endpoints. The resulting access to unintended upstream resources is primarily a confidentiality impact with limited integrity impact. The issue is fixed in @fastify/reply-from 12.8.1, where the path is normalized and any segment resolving to a single or double dot, along with control characters and ambiguous whitespace, is rejected before the URL is constructed, and users should upgrade to 12.8.1 or later. There is no workaround other than upgrading.

Database specific
{
    "cna_assigner":  "openjs",
    "cwe_ids":  [
        "CWE-22"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/117xxx/CVE-2026-117518.json"
}
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
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "12.8.1"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "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-117518.json"