CVE-2026-16117: @fastify/http-proxy vulnerable to prefix escape via URL-encoded characters
Vulnerability summary
CVE-2026-16117 is a critical (CVSS 10.0) Improper Input Validation vulnerability in fastify fastify\/http-proxy. EPSS estimates a 0.27% chance of exploitation in the next 30 days, higher than 20.3% of scored vulnerabilities.
Severe, CVSS 10 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?Timeline
- 18-07-2026PublishedVulnerability first disclosed.
- 20-07-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST10.0CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
EPSS trend
Probability
0.27%
Chance of exploitation in the next 30 days
Percentile
20%
Versus all other CVEs
30-day change
Decrease -0.18 pp
From 0.44% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
@fastify/http-proxy1 product
- @fastify/http-proxy< 11.6.0
Fastify1 product
- fastify\/http-proxy< 11.6.0
2 vendors · 2 products
References
2 links- cna.openjsf.org/security-advisories.htmlVendor Advisory