CVE-2026-120213

Source
https://cve.org/CVERecord?id=CVE-2026-120213
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-120213.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-120213
Aliases
  • GHSA-h3vp-4jfr-v364
Published
2026-11-02T10:15:08Z
Modified
2026-11-05T21:32:21Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
@fastify/http-proxy vulnerable to prefix escape via decoded route parameters
Details

@fastify/http-proxy is a Fastify plugin that proxies HTTP requests to an upstream server under a configured prefix. In versions 9.0.0 through 11.6.5, when an application uses parameterized prefix and rewritePrefix options to pin clients to a fixed upstream path, the plugin substitutes URL-decoded route parameters into rewritePrefix without re-encoding them. A parameter value that encodes a path separator together with a fragment or query delimiter therefore decodes into real separators and delimiters that inject extra upstream path segments and strip the mandatory suffix the rewritePrefix was meant to enforce, without using any dot-dot traversal. An unauthenticated remote attacker can use this to reach upstream locations outside the intended prefix, leading to path-restriction bypass and, depending on the upstream, server-side request forgery or authorization bypass in the proxied service. The issue is fixed in @fastify/http-proxy 11.6.6, and users should upgrade to 11.6.6 or later. There is no workaround other than upgrading.

Database specific
{
    "cna_assigner": "openjs",
    "cwe_ids": [
        "CWE-22",
        "CWE-436"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120213.json"
}
References

Affected packages

Git / github.com/fastify/fastify-http-proxy

Affected ranges

Type
GIT
Repo
https://github.com/fastify/fastify-http-proxy
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "9.0.0"
                },
                {
                    "fixed": "11.6.6"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
        },
        {
            "range": [
                {
                    "introduced": "9.0.0"
                },
                {
                    "last_affected": "11.6.5"
                }
            ],
            "source": "DESCRIPTION"
        }
    ]
}

Affected versions

v10.*
v10.0.0
v10.0.1
v10.0.2
v11.*
v11.0.0
v11.0.1
v11.1.0
v11.1.1
v11.2.0
v11.3.0
v11.4.0
v11.4.1
v11.4.2
v11.4.3
v11.4.4
v11.5.0
v11.6.0
v11.6.1
v11.6.2
v11.6.3
v11.6.4
v11.6.5
v9.*
v9.0.0
v9.1.0
v9.2.0
v9.2.1
v9.3.0
v9.4.0
v9.5.0

Database specific

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