CVE-2026-84428Fastify vulnerability
CVSS score
7.5
High
CVSS 3.1 from ce714d77-add3-4f53-aff5-83d477b104bb
Exploit probability (EPSS)
0.52%
0.52% chance of exploitation in the next 30 days, higher than 45.3% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: ce714d77-add3-4f53-aff5-83d477b104bb
How to fix it, step by step
Check whether you're affected
Find every system running Fastify and compare its version with the affected versions.
Update to a fixed version
- Update Fastify to 5.12.2 or later.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Affected products
| Affected products | Versions |
|---|---|
| fastify Fastify | < 5.12.2 |
Weakness
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-84428 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.5% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-84428?
CVE-2026-84428 has a CVSS 3.1 base score of 7.5 (high).
Which versions are affected?
Fastify Fastify (< 5.12.2)
Is there a patch for CVE-2026-84428?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/fastify/fastify/security/advisories/GHSA-9q9j-q6p8-xq58(Mitigation, Vendor Advisory)
- cna.openjsf.org/security-advisories.html(Third Party Advisory)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.