{"id":"CVE-2026-16158","aliases":["CVE-2026-16158"],"related":[],"kind":"vulnerability","state":"published","title":"@fastify/reply-from vulnerable to cross-upstream request routing via URL cache key collision","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-07-18T12:28:17.262Z","modified":"2026-08-05T19:46:33.550Z","severity":{"scorer":"openjs","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"openjs","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N","score":8.7,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","score":10,"rating":"CRITICAL"}],"cwes":["CWE-441"],"affected":[{"ranges":[{"type":"semver","introduced":"8.3.1","fixed":"12.6.4","status":"affected"},{"type":"semver","version":"12.6.4","status":"unaffected"}],"vendor":"@fastify/reply-from","product":"@fastify/reply-from","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"8.3.1","fixed":"12.6.4"}],"vendor":"fastify","product":"fastify/reply-from","cpe":"cpe:2.3:a:fastify:fastify\\/reply-from:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/fastify/fastify-reply-from/security/advisories/GHSA-v574-6498-x57v","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://cna.openjsf.org/security-advisories.html","tags":["vendor-advisory"],"sources":["cvelist","nvd"]}],"credits":["HamdaanAliQuatil","mcollina","UlisesGascon","climba03003"],"assigner":"openjs","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-07-20T15:15:40.003Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-16158","url":"https://www.cve.org/CVERecord?id=CVE-2026-16158","licence":"CVE Terms of Use","modified":"2026-07-20T15:15:50.016Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-16158","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-16158","licence":"Public domain","modified":"2026-08-05T19:46:33.550Z"}],"updatedAt":"2026-11-25T22:59:28.615Z","epss":{"score":0.00231,"percentile":0.14924,"date":"2026-12-01T12:00:22.000Z"}}