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

- Severity: Low 3.7 (CVSS:3.1, scored by openjs) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2026-10-13T13:23:24.217Z
- Modified: 2026-10-22T16:45:04.287Z
- Also known as: GHSA-389g-gv7q-r4x8
- Weaknesses: CWE-178
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: openjs

## Description

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.

(As written by CVE List.)

## Affected

- fastify fastify: from 5.12.2 before 5.12.6 (not affected: 5.12.6)
- fastify (npm): from 5.12.2 before 5.12.6

## Every score

- openjs: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N`

## References

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

## Sources

- CVE List: [CVE-2026-107832](https://www.cve.org/CVERecord?id=CVE-2026-107832), CVE Terms of Use, modified 2026-10-15
- GitHub Advisory Database: [GHSA-389g-gv7q-r4x8](https://github.com/advisories/GHSA-389g-gv7q-r4x8), CC-BY-4.0, modified 2026-10-22
- NVD: [CVE-2026-107832](https://nvd.nist.gov/vuln/detail/CVE-2026-107832), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2026-107832 · Whole record: https://cve.day/CVE-2026-107832.json · Rebuilt by cve.day 2026-11-25T22:59:43.808Z
