{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-16158","id":"CVE-2026-16158","title":"@fastify/reply-from vulnerable to cross-upstream request routing via URL cache key collision","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 ","descriptionLong":"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.","published":"2026-07-18T12:28:17.262Z","updated":"2026-10-28T02:30:25.484867867Z","reserved":"2026-07-17T21:22:28.153Z","status":"Analyzed","rejected":false,"assigner":"openjs","metric":{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N","rating":"high","source":"openjs"},"metrics":[{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N","rating":"high","source":"openjs"},{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N","rating":"high","source":"ce714d77-add3-4f53-aff5-83d477b104bb"},{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","rating":"critical","source":"NVD"},{"version":"3.1","score":8.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N","rating":"high","source":"OSV"}],"rating":"high","products":["@fastify/reply-from"],"affectedProducts":[{"vendor":"@fastify/reply-from","product":"@fastify/reply-from","defaultStatus":"unaffected","versions":[{"versionType":"semver","status":"affected","version":"8.3.1","lessThan":"12.6.4"},{"versionType":"semver","status":"unaffected","version":"12.6.4"}],"platforms":[]}],"packages":[],"cwes":["CWE-441"],"aliases":["GHSA-v574-6498-x57v"],"references":[{"url":"https://github.com/fastify/fastify-reply-from/security/advisories/GHSA-v574-6498-x57v","tags":["Vendor Advisory","advisory"]},{"url":"https://cna.openjsf.org/security-advisories.html","tags":["Vendor Advisory","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/16xxx/CVE-2026-16158.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-16158","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00381,"epssPercentile":0.3279,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-16158","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-16158","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-16158","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-16158","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}