Fastify vulnerabilities
Every CVE BreachSpider tracks for Fastify, with affected versions, the vendor's fix and the advisory. Send a device's exact version to learn which of these apply to it.
CVEs73
Critical (CVSS 9+)12
High (7 to 8.9)40
Known-exploited0
Fastify products with the most CVEs
Fastify 17Fastify-Static 7Fastify/Middie 7Fastify-Multipart 5Fastify-Csrf 2Fastify/Express 2Passport 2Reply-From 2Bearer-Auth 1Csrf-Protection 1Fastify/Accepts-Serializer 1Github Action Merge Dependabot 1Oauth2 1Websocket 1
A product appearing here does not mean every version is affected. Each CVE lists the affected versions; the free check answers for the version you run.
Fastify's own CVEs by priority
CVE-2026-1615810.0Impact: @fastify/reply-from versions from 8.3.1 up to but not including 12.6.4 build th...CVE-2026-1611710.0Impact: @fastify/http-proxy versions up to and including 11.5.0 fail to rewrite the req...CVE-2026-1563110.0Impact: @fastify/http-proxy versions from 9.4.0 up to and including 11.5.0 fail to vali...CVE-2026-851849.1@fastify/middie versions >= 9.1.0 and before 9.3.4 decide whether to run path-scoped mi...CVE-2026-65569.1@fastify/express versions 4.0.6 and earlier only rewrite the plugin prefix for middlewa...CVE-2026-62709.1@fastify/middie versions 9.3.1 and earlier do not register inherited middleware directl...CVE-2026-338049.1@fastify/middie versions 9.3.1 and earlier are vulnerable to middleware bypass when the...CVE-2026-28809.1A vulnerability in @fastify/middie versions < 9.2.0 can result in authentication/author...CVE-2026-182489.1@fastify/aws-lambda version 6.4.0 decorates each Fastify request with request.awsLambda...CVE-2026-141989.1@fastify/middie versions 9.1.0 through 9.3.2 decode the encoded slash %2F inside path p...CVE-2026-220318.8@fastify/middie is the plugin that adds middleware support on steroids to Fastify. A se...CVE-2023-319998.8All versions of @fastify/oauth2 used a statically generated state parameter at startup ...CVE-2022-419198.8Fastify is a web framework with minimal overhead and plugin architecture. The attacker ...CVE-2021-229648.8A redirect vulnerability in the `fastify-static` module version >= 4.2.4 and < 4.4.1 al...CVE-2020-284828.8This affects the package fastify-csrf before 3.0.0. 1. The generated cookie used insecu...CVE-2026-845048.1fastify versions before 5.12.2 treat the object resolved by a successful Ajv async vali...CVE-2026-185008.1@fastify/jwt is a JSON Web Token plugin for Fastify. In versions before 10.2.2, a per-r...CVE-2023-290198.1@fastify/passport is a port of passport authentication library for the Fastify ecosyste...CVE-2026-851247.5@fastify/http-proxy versions before 11.6.2 do not validate proxied HTTP request paths f...CVE-2026-844697.5fastify versions before 5.12.2 decide whether to compile a request schema based on Java...CVE-2026-844287.5fastify versions before 5.12.2 implement the case-insensitive nature of HTTP header nam...CVE-2026-761697.5fastify versions >= 4.0.0 and before 5.12.2 can route a malformed URL sent under one pl...CVE-2026-338067.5Impact:
Fastify applications using schema.body.content for per-content-type body valid...CVE-2026-252237.5Fastify is a fast and low overhead web framework, for Node.js. Prior to version 5.7.2, ...CVE-2026-194847.5@fastify/busboy is a multipart form-data parser. In versions 3.1.0 through 3.2.0, a rem...CVE-2026-194817.5@fastify/busboy is a multipart form-data parser. In versions 1.0.0 through 3.2.0, an at...CVE-2026-194747.5@fastify/multipart is a multipart form-data parser for Fastify. In versions from 3.0.0 ...CVE-2026-185497.5@fastify/multipart is a multipart form-data parser for Fastify. In versions from 5.3.0 ...CVE-2026-184277.5@fastify/static before version 10.1.3 contains an incomplete fix for a previous route g...CVE-2026-150747.5@fastify/static up to and including version 10.1.0 fails to reject dot-dot path segment...CVE-2026-141817.5@fastify/middie versions 9.1.0 through 9.3.2 fail to guard the URL normalization step u...CVE-2025-324427.5Fastify is a fast and low overhead web framework, for Node.js. In versions 5.0.0 to 5.3...CVE-2023-517017.5fastify-reply-from is a Fastify plugin to forward the current HTTP request to another s...CVE-2023-255767.5@fastify/multipart is a Fastify plugin to parse the multipart content-type. Prior to ve...CVE-2022-393867.5@fastify/websocket provides WebSocket support for Fastify. Any application using @fasti...CVE-2022-392887.5fastify is a fast and low overhead web framework, for Node.js. Affected versions of fas...CVE-2022-311427.5@fastify/bearer-auth is a Fastify plugin to require bearer Authorization headers. @fast...CVE-2021-235977.5This affects the package fastify-multipart before 5.3.1. By providing a name=constructo...CVE-2020-81367.5Prototype pollution vulnerability in fastify-multipart < 1.0.5 allows an attacker to cr...CVE-2018-37117.5Fastify node module before 0.38.0 is vulnerable to a denial-of-service attack by sendin...CVE-2023-290206.5@fastify/passport is a port of passport authentication library for the Fastify ecosyste...CVE-2023-274956.5@fastify/csrf-protection is a plugin which helps protect Fastify servers against CSRF a...CVE-2022-292206.5github-action-merge-dependabot is an action that automatically approves and merges depe...CVE-2021-296246.5fastify-csrf is an open-source plugin helps developers protect their Fastify server aga...CVE-2020-81926.5A denial of service vulnerability exists in Fastify v2.14.1 and v3.0.0-rc.4 that allows...CVE-2026-36356.1Summary
When trustProxy is configured with a restrictive trust function (e.g., a specif...CVE-2026-167326.1fastify is a fast and low overhead web framework for Node.js. Impact: the fix for CVE-2...CVE-2021-229636.1A redirect vulnerability in the fastify-static module version < 4.2.4 allows remote att...CVE-2026-920815.9fastify is a fast and low-overhead web framework for Node.js. In versions before 5.12.5...CVE-2026-64145.9@fastify/static versions 8.0.0 through 9.1.0 decode percent-encoded path separators (%2...CVE-2026-748665.8@fastify/busboy is a multipart form-data parser for Node.js. Its multipart part-header ...CVE-2026-181655.4@fastify/oauth2 is an OAuth 2.0 plugin for Fastify. In versions from 7.2.0 up to but no...CVE-2025-664155.4fastify-reply-from is a Fastify plugin to forward the current HTTP request to another s...CVE-2026-71205.3@fastify/static evaluates the allowedPath callback before normalizing dot segments and ...CVE-2026-64105.3@fastify/static versions 8.0.0 through 9.1.0 allow path traversal when directory listin...CVE-2026-34195.3Fastify incorrectly accepts malformed `Content-Type` headers containing trailing charac...CVE-2026-185045.3fastify is a fast and low overhead web framework for Node.js. Versions of fastify befor...CVE-2026-181745.3@fastify/forwarded resolves client addresses from the X-Forwarded-For header. In versio...CVE-2026-151445.3@fastify/rate-limit before 11.2.0 keys rate-limit buckets by the verbatim client IP str...CVE-2026-252243.7Fastify is a fast and low overhead web framework, for Node.js. Prior to version 5.7.3, ...
Third-party components in Fastify products
CVEs filed for software that Fastify products include, such as an operating system or library. They affect the Fastify products and versions named on each CVE page.
CVE-2026-338089.1Express: Impact@fastify/express v4.0.4 and earlier fails to normalize URLs b...CVE-2026-338079.1Express, Plugin: @fastify/express v4.0.4 and earlier contains a path handling bug in...CVE-2026-416908.6Client, Deno: 18next-http-middleware is a middleware to be used with Node.js web ...CVE-2026-416838.6Deno, Express: i18next-http-middleware is a middleware to be used with Node.js web...CVE-2026-338058.6Client: @fastify/reply-from v12.6.1 and earlier and @fastify/http-proxy v11...CVE-2026-220378.4Express, Full: The @fastify/express plugin adds full Express compatibility to Fast...CVE-2026-423538.2Deno, Express: i18next-http-middleware is a middleware to be used with Node.js web...CVE-2026-77687.5Client, Plugin: @fastify/accepts-serializer cached serializer-selection results key...CVE-2025-240337.5Plugin: @fastify/multipart is a Fastify plugin for parsing the multipart co...CVE-2026-340767.4Clerk, Express: Clerk JavaScript is the official JavaScript repository for Clerk au...CVE-2024-352207.4Plugin: @fastify/session is a session plugin for fastify. Requires the @fas...CVE-2024-319997.4Keep, Last: @festify/secure-session creates a secure stateless cookie session f...CVE-2026-87235.3Cannot, Class: ### Summary
`qs.stringify` throws `TypeError` when called with `...
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Fastify","product":"Fastify","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.