CVE-2026-16158
published high CVSS 3.1 · 8.7@fastify/reply-from vulnerable to cross-upstream request routing via URL cache key collision
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| @fastify/reply-from | — | @fastify/reply-from8.3.1 to < 12.6.4 (affected · semver) · 12.6.4 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | openjs |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- openjs · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| @fastify/reply-from | @fastify/reply-from | 8.3.1 to < 12.6.4 (affected · semver)12.6.4 (unaffected · semver)Default: unaffected | openjs · cna |
Weaknesses
1- CWE-441 CWE-441: Unintended Proxy or Intermediary ('Confused Deputy')
References
2Provider assertions
2openjs · cna
@fastify/reply-from vulnerable to cross-upstream request routing via URL cache key collision
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- de59914cd5f023d4f7820c0e0fd8e95b0abe71768a18a1c7fe9c2f2305a98dbc
- Ingested
- 23 Sep 2026, 09:02:32 UTC
- Source record
- Official CVE record