1. Accueil
  2. Vulnérabilités
  3. CVE-2026-18174

CVE-2026-18174

@fastify/forwarded resolves client addresses from the X-Forwarded-For header. In versions before 3.0.2, when…

Publiée le 29 juil. 2026 · modifiée le 5 août 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 26/100

Résumé

@fastify/forwarded resolves client addresses from the X-Forwarded-For header. In versions before 3.0.2, when the header contains two or more comma separated entries, the parser trims only space characters and does not strip horizontal tabs, even though RFC 7230 defines optional whitespace as both space and tab. As a result, an entry padded with a tab keeps the literal tab in the resolved address string. Applications that make exact string match security decisions on the resolved client IP, such as an allowlist, a blocklist, a per IP rate limit key, or audit log correlation, can be evaded because the tab corrupted string no longer matches the expected value. This does not cross the trust boundary, since a tab corrupted string is not a valid IP and cannot be mistaken for a trusted proxy. The issue is fixed in @fastify/forwarded 3.0.2.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Fastify (1 ligne(s))
Fastify
ProduitVersionsCorrigé dansSource
Fastify/forwarded avant 3.0.2 (exclu) — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
NVD
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N (CVSS 3.1, CNA:ce714d77-add3-4f53-aff5-83d477b104bb)
Faiblesse
CWE-20 · Validation d'entrée (générique)

Comment sont obtenues et calculées ces données