- Accueil
- Vulnérabilités
- CVE-2026-107832
CVE-2026-107832
fastify vulnerable to header validation bypass via case-sensitive propertyNames
Résumé
fastify is a fast and low overhead web framework for Node.js. In versions 5.12.2 through 5.12.5, the routine that lowercases header names declared in a route schema does not lowercase the enum or const header names nested inside a propertyNames subschema. As a result, a header allow-list or deny-list written with canonical (non-lowercase) casing never matches the incoming lowercased header, so a restricted header passes validation and reaches the route handler. An attacker can therefore bypass a case-sensitive header validation rule and smuggle a forbidden header past the schema, affecting the integrity of request handling. The issue is fixed in fastify 5.12.6, and users should upgrade to 5.12.6 or later. There is no workaround other than upgrading, though applications can declare header names in lowercase to avoid the mismatch.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Fastify (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Fastify | de 5.12.2 (inclus) à 5.12.6 (exclu) |
— | CNA (éditeur ou attributeur) |
npm (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| fastify | de 5.12.2 (inclus) à 5.12.6 (exclu) |
5.12.6 |
GitHub Advisory |
Correctif
Mise à jour — npm/fastify 5.12.6source officielle
Source : GitHub Advisory
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Avis CERT-FR
- GHSA-389g-gv7q-r4x8 — fastify is vulnerable to header validation bypass via case-sensitive propertyNames 22 oct. 2026
Références
- https://cna.openjsf.org/security-advisories.htmlWEB
- https://github.com/fastify/fastify/security/advisories/GHSA-389g-gv7q-r4x8WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-107832ADVISORY
- https://github.com/fastify/fastify/pull/7104WEB
- https://github.com/fastify/fastify/commit/3241fbd2f10a8ca1503533726836b53b6e8775a2WEB
- https://github.com/fastify/fastify/commit/35c32375731c111439682b2f9e6e0baed2694269WEB
- https://github.com/fastify/fastifyPACKAGE
- https://github.com/fastify/fastify/releases/tag/v5.12.6WEB
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- CNA (éditeur ou attributeur)
- Vecteur CVSS
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N(CVSS 3.1, CNA:openjs)- Faiblesse
- CWE-178 · Autre (CWE-178)