CVE-2026-16117

Source
https://cve.org/CVERecord?id=CVE-2026-16117
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-16117.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-16117
Aliases
  • GHSA-mx7v-qhg9-2mvv
Published
2026-07-18T13:08:40.489Z
Modified
2026-07-24T04:01:49.088453855Z
Severity
  • 10.0 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N CVSS Calculator
Summary
@fastify/http-proxy vulnerable to prefix escape via URL-encoded characters
Details

Impact: @fastify/http-proxy versions up to and including 11.5.0 fail to rewrite the request prefix when the prefix segment is URL-encoded. Fastify's router URL-decodes paths for route matching, but request.url retains the original encoded form, and the prefix-rewrite step uses a literal string replace against the decoded prefix. A request that encodes one or more characters of the configured prefix therefore matches the route but skips the rewrite, so the raw encoded path is forwarded to the upstream unchanged. The upstream then decodes the path and serves it, letting an attacker reach upstream paths that the proxy was configured to hide via rewritePrefix, including internal or administrative endpoints.

Patches: upgrade to @fastify/http-proxy 11.6.0.

Workarounds: none.

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

Affected packages

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

Affected ranges

Type
GIT
Repo
https://github.com/fastify/fastify-http-proxy
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "11.6.0"
        }
    ],
    "source": "AFFECTED_FIELD"
}

Affected versions

v0.*
v0.1.1
v0.2.0
v0.2.1
v0.3.0
v0.4.0
v0.4.1
v0.4.2
v0.4.3
v0.6.0
v0.7.0
v0.8.0
v1.*
v1.0.0
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
v2.*
v2.0.1
v2.0.2
v2.0.3
v2.1.0
v2.2.0
v2.3.0
v3.*
v3.0.0
v3.1.0
v3.2.0
v4.*
v4.0.0
v4.0.1
v4.0.2
v4.0.3
v4.0.4
v4.1.0
v4.2.0
v4.3.0
v4.3.1
v4.4.0
v5.*
v5.0.0
v6.*
v6.0.0
v6.0.1
v6.1.0
v6.2.0
v6.2.1
v6.2.2
v7.*
v7.0.0
v7.1.0
v8.*
v8.0.0
v8.0.1
v8.0.2
v8.1.0
v8.2.0
v8.2.1
v8.2.2
v8.2.3
v8.3.0
v8.4.0
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-16117.json"