CVE-2026-16158: @fastify/reply-from vulnerable to cross-upstream request routing via URL cache key collision
Vulnerability summary
CVE-2026-16158 is a critical (CVSS 10.0) Unintended Proxy or Intermediary vulnerability in fastify fastify\/reply-from. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 14.8% of scored vulnerabilities.
Severe, CVSS 8.7 (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/reply-from versions from 8.3.1 up to but not including 12.6.4 build the internal URL cache key by concatenating the destination and source path without a delimiter. Different destination and source pairs can therefore produce the same key while resolving to different upstream URLs. When getUpstream selects an upstream from request data, a URL cached for one upstream can be reused for a request intended for another upstream, causing cross-upstream data access and modification. The default configuration is affected. Setting disableCache to true prevents the behavior. Patches: upgrade to @fastify/reply-from 12.6.4. Workarounds: pass disableCache: true when registering the plugin.
CVSS metrics
2 scores · 2 sources · 1 version- CVE.orgCNA8.7HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:NDiffers
EPSS trend
Probability
0.23%
Chance of exploitation in the next 30 days
Percentile
15%
Versus all other CVEs
30-day change
Decrease -0.15 pp
From 0.38% 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/reply-from1 product
- @fastify/reply-from≥ 8.3.1, < 12.6.4
Fastify1 product
- fastify\/reply-from≥ 8.3.1, < 12.6.4
2 vendors · 2 products
References
2 links- cna.openjsf.org/security-advisories.htmlVendor Advisory