{
  "id": "CVE-2026-16158",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-16158",
  "published_at": "2026-07-18T12:28:17.262Z",
  "title": "@fastify/reply-from vulnerable to cross-upstream request routing via URL cache key collision",
  "vendor": "@fastify/reply-from",
  "product": "@fastify/reply-from",
  "cvss": {
    "score": 10,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-441",
  "cpes": [
    "cpe:2.3:a:fastify:fastify\\/reply-from:*:*:*:*:*:node.js:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.7,
    "nvd": 10
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "@fastify/reply-from",
        "product": "@fastify/reply-from",
        "ranges": [
          "\u003e= 8.3.1, \u003c 12.6.4"
        ],
        "fixed_in": [
          "12.6.4"
        ]
      }
    ],
    "upgrade": [
      "Upgrade @fastify/reply-from to 12.6.4 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/fastify/fastify-reply-from/security/advisories/GHSA-v574-6498-x57v"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
