Search for packages
| purl | pkg:npm/fastify@3.22.1 |
| Vulnerability | Summary | Fixed by |
|---|---|---|
|
VCID-6ht9-gg8u-9qax
Aliases: CVE-2026-25224 GHSA-mrq3-vjjr-p77c |
Fastify is a fast and low overhead web framework, for Node.js. Prior to version 5.7.3, a denial-of-service vulnerability in Fastify’s Web Streams response handling can allow a remote client to exhaust server memory. Applications that return a ReadableStream (or Response with a Web Stream body) via reply.send() are impacted. A slow or non-reading client can trigger unbounded buffering when backpressure is ignored, leading to process crashes or severe degradation. This issue has been patched in version 5.7.3. |
Affected by 3 other vulnerabilities. |
|
VCID-8p2p-977a-qqb6
Aliases: CVE-2026-25223 GHSA-jx2c-rxcm-jvmq |
Fastify is a fast and low overhead web framework, for Node.js. Prior to version 5.7.2, a validation bypass vulnerability exists in Fastify where request body validation schemas specified by Content-Type can be completely circumvented. By appending a tab character (\t) followed by arbitrary content to the Content-Type header, attackers can bypass body validation while the server still processes the body as the original content type. This issue has been patched in version 5.7.2. |
Affected by 4 other vulnerabilities. |
|
VCID-f1g6-gvqq-6kbf
Aliases: CVE-2022-39288 GHSA-455w-c45v-86rg |
fastify is a fast and low overhead web framework, for Node.js. Affected versions of fastify are subject to a denial of service via malicious use of the Content-Type header. An attacker can send an invalid Content-Type header that can cause the application to crash. This issue has been addressed in commit `fbb07e8d` and will be included in release version 4.8.1. Users are advised to upgrade. Users unable to upgrade may manually filter out http content with malicious Content-Type headers. |
Affected by 3 other vulnerabilities. |
|
VCID-g4ar-bpke-2qc2
Aliases: CVE-2026-3635 GHSA-444r-cwp2-x5xf |
Summary When trustProxy is configured with a restrictive trust function (e.g., a specific IP like trustProxy: '10.0.0.1', a subnet, a hop count, or a custom function), the request.protocol and request.host getters read X-Forwarded-Proto and X-Forwarded-Host headers from any connection — including connections from untrusted IPs. This allows an attacker connecting directly to Fastify (bypassing the proxy) to spoof both the protocol and host seen by the application. Affected Versions fastify <= 5.8.2 Impact Applications using request.protocol or request.host for security decisions (HTTPS enforcement, secure cookie flags, CSRF origin checks, URL construction, host-based routing) are affected when trustProxy is configured with a restrictive trust function. When trustProxy: true (trust everything), both host and protocol trust all forwarded headers — this is expected behavior. The vulnerability only manifests with restrictive trust configurations. |
Affected by 1 other vulnerability. |
| Vulnerability | Summary | Aliases |
|---|---|---|
| This package is not known to fix vulnerabilities. | ||
| Date | Actor | Action | Vulnerability | Source | VulnerableCode Version |
|---|---|---|---|---|---|
| 2026-06-12T21:37:19.286409+00:00 | GitLab Importer | Affected by | VCID-g4ar-bpke-2qc2 | https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/fastify/CVE-2026-3635.yml | 38.6.0 |
| 2026-06-12T20:54:38.944536+00:00 | GitLab Importer | Affected by | VCID-6ht9-gg8u-9qax | https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/fastify/CVE-2026-25224.yml | 38.6.0 |
| 2026-06-12T20:54:36.335922+00:00 | GitLab Importer | Affected by | VCID-8p2p-977a-qqb6 | https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/fastify/CVE-2026-25223.yml | 38.6.0 |
| 2026-06-12T18:35:33.941128+00:00 | GitLab Importer | Affected by | VCID-f1g6-gvqq-6kbf | https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/fastify/CVE-2022-39288.yml | 38.6.0 |