fastify
5.12.8 · 2 Nov 2026MIT23.8M / weekRepositoryHomepagenpmAtom feed
3.29.5 is the newest release of 3.x.
In short
4 new3 fixed8 changed7 internal
Security
9 advisories affect 3.16.0; 5.12.5 fixes them
- Highfastify vulnerable to request body replacement via an async validation result collisionGHSA-667r-xxjv-c9mm · 30 Sep 2026Fixed in 5.12.2
- Highfastify vulnerable to request validation bypass via skipped boolean false schemasGHSA-hwr6-493r-vm6h · 30 Sep 2026Fixed in 5.12.2
- Highfastify vulnerable to header validation bypass via incomplete schema case normalizationGHSA-9q9j-q6p8-xq58 · 30 Sep 2026Fixed in 5.12.2
- HighFastify's Content-Type header tab character allows body validation bypassGHSA-jx2c-rxcm-jvmq · 2 Feb 2026Fixed in 5.7.2
- Moderatefastify vulnerable to Denial of Service via unhandled exception on HTTP/2 trailer responsesGHSA-4mh8-r7rc-xpvc · 30 Sep 2026Fixed in 5.12.5
4 more
- Moderatefastify vulnerable to schema validation bypass via root primitive coercion mismatchGHSA-w2qp-rph6-63g4 · 2 Sep 2026Fixed in 5.12.1
- Moderatefastify: request.protocol and request.host Spoofable via X-Forwarded-Proto/Host from Untrusted ConnectionsGHSA-444r-cwp2-x5xf · 25 Mar 2026Fixed in 5.8.3
- ModerateFastify: Incorrect Content-Type parsing can lead to CSRF attack GHSA-3fjj-p79j-c9hh · 21 Nov 2022Fixed in 3.29.4
- LowFastify Vulnerable to DoS via Unbounded Memory Allocation in sendWebStreamGHSA-mrq3-vjjr-p77c · 2 Feb 2026Fixed in 5.7.3
Release note
📚 PR:
Update Validation-and-Serialization.md
Fix Content-Length not being updated after onSend hook
Add clientErrorHandler in fastify ts definition
Note about security releases and LTS
Serializer log req and res are now Fastify Objects in type definition
Update @types/node to 15.3.0 and fix type definition
Simplify reply sent monitoring
Fix requires in the benchmark scripts
Fixup! Simplify reply sent monitoring
Add new packages for the fastify ecosystem
Compilers factory (transient ajv dependency)
Use ajv options from ajv-compiler
Error on wrong decorator dependency type
Mergeable context config type
#229 TypeScript page, CONTRIBUTING.md anchor tag broken link
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.