# CVE-2026-84428: fastify vulnerable to header validation bypass via incomplete schema case normalization

- Severity: High 7.5 (CVSS:3.1, scored by openjs) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/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.38%, higher than 34% of CVEs (2026-12-01)
- Published: 2026-09-04T10:24:27.809Z
- Modified: 2026-10-01T00:00:05.759Z
- Also known as: GHSA-9q9j-q6p8-xq58
- Weaknesses: CWE-178
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: openjs

## Description

fastify versions before 5.12.2 implement the case-insensitive nature of HTTP header names by lowercasing names in a route's header schema before compiling it, but the transformation is incomplete: it lowercases the properties keys and the root-level required array, and does not lowercase the trigger and dependent names inside the JSON Schema Draft 7 dependencies keyword. Because Node stores request header names in lowercase, a canonical-case dependency such as requiring an authentication header whenever a privileged-mode header is present never matches, and the presence assertion is silently skipped. An unauthenticated remote client can therefore send the header that activates a privileged branch while omitting the header the dependency was meant to require, bypassing the conditional check. Users should upgrade to fastify 5.12.2 or later.

(As written by CVE List.)

## Affected

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

## Every score

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

## References

- <https://github.com/fastify/fastify/security/advisories/GHSA-9q9j-q6p8-xq58> (mitigation, vendor-advisory, web)
- <https://cna.openjsf.org/security-advisories.html> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-84428> (advisory)
- <https://github.com/fastify/fastify/commit/179619c8e99d54924309b9933402151ef9af37e0> (web)
- <https://github.com/fastify/fastify> (package)
- <https://github.com/fastify/fastify/releases/tag/v5.12.2> (web)

## Sources

- CVE List: [CVE-2026-84428](https://www.cve.org/CVERecord?id=CVE-2026-84428), CVE Terms of Use, modified 2026-09-04
- GitHub Advisory Database: [GHSA-9q9j-q6p8-xq58](https://github.com/advisories/GHSA-9q9j-q6p8-xq58), CC-BY-4.0, modified 2026-10-01
- NVD: [CVE-2026-84428](https://nvd.nist.gov/vuln/detail/CVE-2026-84428), Public domain, modified 2026-09-15

---

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