# CVE-2026-107832: fastify vulnerable to header validation bypass via case-sensitive propertyNames

- Priority: **Routine**
- Reason: Not severe (CVSS 3.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-10-13 · Modified: 2026-10-15
- Aliases: GHSA-389g-gv7q-r4x8
- Record: https://cvemate.com/vulnerability/CVE-2026-107832 · JSON: https://cvemate.com/vulnerability/CVE-2026-107832/json

## Description

```text
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.
```

## Signals

- CVSS: 3.7 low (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
- EPSS: 0.257%, percentile 18.493%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- fastify fastify: ≥ 5.12.2, \< 5.12.6
- Npm fastify (Npm): ≥ 5.12.2, \< 5.12.6

## References

- <https://github.com/fastify/fastify/security/advisories/GHSA-389g-gv7q-r4x8>
- <https://cna.openjsf.org/security-advisories.html>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-107832>
- <https://github.com/fastify/fastify/pull/7104>
- <https://github.com/fastify/fastify/commit/3241fbd2f10a8ca1503533726836b53b6e8775a2>
- <https://github.com/fastify/fastify/commit/35c32375731c111439682b2f9e6e0baed2694269>
- <https://github.com/fastify/fastify>
- <https://github.com/fastify/fastify/releases/tag/v5.12.6>

---

Data as of 2026-12-05T09:20:25.070Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
