> CVE-2026-16732 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2026-08-18 21:16
MODIFIED
2026-08-18 21:16
CVSS_SCORE V3
6.1
EPSS (Prob. Exploit)
0.16%
Top 95.5%
DATA SOURCES:
NVD đź”— 2026-08-18 CWE MITRE đź”— 2026-09-01 FIRST EPSS đź”— 2026-10-25 GITHUB đź”— 2026-10-29 OSV đź”— 2026-08-25

> DESCRIPTION

fastify is a fast and low overhead web framework for Node.js. Impact: the fix for CVE-2026-3635 added a guard on the forwarded-header reads used to derive the request host, protocol, hostname, ip, and ips values, checking the connecting address. That guard closes the IP, CIDR, and custom-function forms of trustProxy correctly, because those forms compile to predicates that inspect the connecting address. The hop-count form, where trustProxy is set to a number, compiles to a predicate that structurally ignores the address, so the guard is always satisfied for any hop count of one or more. Applications configured with a numeric trustProxy value, such as trustProxy set to 1 for a single reverse proxy, remain vulnerable: an attacker who can reach the Fastify origin directly, bypassing the front-facing proxy, can spoof the forwarded request fields exactly as in the unpatched version. The impact class matches the parent CVE-2026-3635, including host injection in generated URLs, HTTPS-enforcement bypass, secure-cookie and CSRF-origin bypass, and host-based routing and cache poisoning. Affected versions are fastify from 5.8.3 up to but not including 5.12.1. Patches: patched in fastify 5.12.1, where the numeric form of trustProxy is disabled at runtime and removed from the TypeScript type union. Workarounds: migrate to an IP, CIDR, or custom-function trustProxy value that validates the connecting address, and ensure the Fastify origin is only reachable through the trusted proxy chain.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
EXPLOITABILITY
1.6
IMPACT
4.0

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Adjacent (A)
Exploit nécessite un accès au segment réseau local
AC (Complexité d'Attaque)
Attack Complexity
High (H)
Conditions spécifiques doivent être réunies pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Changed (C)
Impact s'étend au-delà du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-348

> CWE DETAILED DESCRIPTIONS

CWE-348: Use of Less Trusted Source - The product has two different sources of the same data or information, but it uses the source that has less support for verification, is less trusted, or is less resistant to attack.

> GITHUB SECURITY ADVISORY

GHSA-3m5p-2c4r-xxw2 MODERATE

fastify vulnerable to X-Forwarded-* spoofing under trustProxy hop-count

AFFECTED PACKAGES:
NPM / fastify
>= 5.8.3, < 5.12.1
Fixed in: 5.12.1

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

fastify vulnerable to X-Forwarded-* spoofing under trustProxy hop-count

AFFECTED PACKAGES:
Unknown / Unknown
10 versions affected
ALIASES:
GHSA-3m5p-2c4r-xxw2

> HISTORIQUE DES MODIFICATIONS

Première apparition
18/08/2026 21:16
Source: NVD
📊 ENRICHISSEMENT 01/09/2026 06:02
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-348: Use of Less Trusted Source - The product has two different sources of the same data or information, but it uses the source that has less support for verification, is less trusted, or is less ...
Total des modifications: 1 Dernière mise à jour: 1 month ago

> REFERENCES

https://cna.openjsf.org/security-advisories.html
https://github.com/fastify/fastify/security/advisories/GHSA-3m5p-2c4r-xxw2
« BACK_TO_HOME