1. Archivio CVE
  2. 2026
  3. CVE-2026-16158

CVE-2026-16158

10 Gravità critica CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N 10 – Critica

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
fastify fastify/reply-from >= 8.3.1 < 12.6.4 node.js

Tipo di vulnerabilità

CWE-441 Unintended Proxy or Intermediary

The product receives a request, message, or directive from an upstream component, but the product does not sufficiently preserve the original source of the request before forwarding the request to an external actor that is outside of the product's control sphere.

Impatto sui sistemi

AmbitoImpatto
Non ripudio, Controllo degli accessi Ottenere privilegi o assumere un’altra identità, Nascondere le proprie attività, Eseguire codice o comandi non autorizzati, Aggirare i meccanismi di protezione

Come si previene

Architettura e progettazione Enforce the use of strong mutual authentication mechanism between the two parties.
Architettura e progettazione Whenever a product is an intermediary or proxy for transactions between two other components, the proxy core should not drop the identity of the initiator of the transaction. The immutability of the identity of the initiator must be maintained and should be forwarded all the way to the target.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 235 CVE di tipo CWE-441, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org