fastify
5.12.8 · 2 Nov 2026MIT23.8M / weekRepositoryHomepagenpmAtom feed
Upgrading fastify From 4.27.0 to 4.29.1
4 releases in betweenevery note read
Security
9 advisories still affect 4.29.1
- fastify: request.protocol and request.host Spoofable via X-Forwarded-Proto/Host from Untrusted Connectionsmoderate · GHSA-444r-cwp2-x5xf
- fastify vulnerable to Denial of Service via unhandled exception on HTTP/2 trailer responsesmoderate · GHSA-4mh8-r7rc-xpvc
- fastify vulnerable to request body replacement via an async validation result collisionhigh · GHSA-667r-xxjv-c9mm
Upgrading to 5.12.5 clears them.
- 4.29.1
Fix for "Invalid content-type parsing could lead to validation bypass" and CVE-2025-32442.
Release by release
- Security
Fix for "Invalid content-type parsing could lead to validation bypass" and CVE-2025-32442.
- Security
- New
backport 4.x: Add body parsing on copy move mkcol methods
- New
Support different body schema per content type
- New
Add fastify v4 codemods
- New
Bind
thisto instance in onclose
- New
- Fixed
Server.listen listener is not cleanup properly
- Fixed
v4: Update .npmignore
- Fixed
- Fixed
(backport) Type inferrence with auxilliary hook handlers
- Fixed
11 internal lines (docs, tests, tooling) left out.
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.