10

CVE-2026-16158: @fastify/reply-from vulnerable to cross-upstream request routing via URL cache key collision

Analyzed
Published 18-07-2026Last modified 20-07-2026

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.

Priority
Prioritisesevere

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?
CVSS score
10.0/10
010
Critical · v3.1 (NVD)
EPSS score
0.23%
0%100%
Low · -0.15 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 18-07-2026
    PublishedVulnerability first disclosed.
  2. 20-07-2026
    Last 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

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

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

@fastify/reply-from1 product
Fastify1 product

2 vendors · 2 products

References

2 links