
CVE catalog
CVE-2026-16732
fastify is a fast and low overhead web framework for Node.js. Impact: the fix for CVE-2026-3635 added a guard on the forwarded-header reads used to derive the request host, protocol, hostname, ip, and
- Severity
- Medium · CVSS 6.1
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.16% · Oct 25, 2026
A flaw was found in fastify. When configured with a numeric `trustProxy` value, an attacker who can directly access the Fastify origin, bypassing the front-facing proxy, can spoof forwarded request fields. This vulnerability allows for host injection in generated URLs, bypasses HTTPS enforcement, and can lead to secure-cookie and Cross-Site Request Forgery (CSRF) origin bypasses, as well as host-based routing and cache poisoning. fastify: fastify: Request spoofing via numeric trustProxy configuration This flaw in fastify allows request spoofing when the `trustProxy` configuration uses a numeric value and an attacker can directly access the Fastify origin, bypassing the front-facing proxy. This can lead to host injection in generated URLs, HTTPS-enforcement bypass, and secure-cookie/CSRF-origin bypass. Red Hat OpenShift Dev Spaces is affected by this vulnerability. The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Cpe | fastify | Not reported | 5.12.1 | fixed |
| Npm | fastify | Not reported | 5.12.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Cpe | fastify | cpe | Not reported | 5.12.1 | Not reported | NVD-CVE-2026-16732 | Not reported |
| Npm | fastify | npm | Not reported | 5.12.1 | Not reported | GHSA-3M5P-2C4R-XXW2 | Not reported |
OpenFactory catalog packages
No matching packages in this catalog.
Observed:
References
- [https://github.com/advisories/GHSA-3m5p-2c4r-xxw2]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-16732]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-16732.json]
[FIRST EPSS] · [GitHub Advisory Database] · [National Vulnerability Database (NVD)] · [Red Hat security advisories and VEX]