CVE-2026-107832 json
fastify vulnerable to header validation bypass via case-sensitive propertyNames
published 27d ago modified 18d ago also EUVD-2026-98697 , GHSA-389g-gv7q-r4x8
- cvss
- 3.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 17%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm fastify 5.12.6
- fastify fastify 5.12.6
- github.com/fastify/fastify@3241fbd commit
- github.com/fastify/fastify@35c3237 commit
- github.com/fastify/fastify#7104 pull request
- github.com/fastify/fastify/releases/tag/v5.12.6 release
Is CVE-2026-107832 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-107832 updated cvss 3.7
fastify: fastify: Header validation bypass via incomplete schema case normalization
-
Red Hat Enterprise Linux AI (RHEL AI) 3 rhelai3/bootc-cuda-rhel9, rhelai3/bootc-rocm-rhel9, rhelai3/bootc-gaudi-rhel9, rhelai3/disk-image-cuda-rhel9 Red Hat OpenShift AI (RHOAI) rhoai/odh-core-bff-rhel9, rhoai/odh-dashboard-rhel9, rhoai/odh-mod-arch-maas-rhel9, rhoai/odh-mod-arch-automl-rhel9, rhoai/odh-mod-arch-gen-ai-rhel9, rhoai/odh-mod-arch-mlflow-rhel9, +5 more Red Hat OpenShift Dev Spaces devspaces/dashboard-rhel9affected: workaround, no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 25d ago
Exploit prediction
0.26% chance of exploitation in the next 30 days, higher than 17% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N |
| GitHub | 3.1 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | fastify | >=5.12.2, <5.12.6 |
5.12.6 |
Affected products
- fastify fastify
Classification
- Weakness
-
- CWE-178 Improper Handling of Case Sensitivity
References
-
github.com
/fastify/fastify/pull/7104
web
-
github.com
/fastify/fastify/commit/3241fbd2f10a8ca1503533726836b53b6e8775a2
web
-
github.com
/fastify/fastify/commit/35c32375731c111439682b2f9e6e0baed2694269
web
-
github.com
/fastify/fastify/security/advisories/GHSA-389g-gv7q-r4x8
web
-
cna.openjsf.org
/security-advisories.html
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-107832
advisory
-
github.com
/fastify/fastify
package
-
github.com
/fastify/fastify/releases/tag/v5.12.6
web
Sources
- CVE List CVE-2026-107832
- GitHub Advisory GHSA-389g-gv7q-r4x8
- NVD CVE-2026-107832
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.