{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-16732","published":"2026-08-18T21:16:34.063000Z","last_modified":"2026-09-02T14:39:20.050000Z","status":"Analyzed","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N","source":"ce714d77-add3-4f53-aff5-83d477b104bb","primary":false},"auth":false,"cwes":["CWE-348"],"cpes":[{"criteria":"cpe:2.3:a:fastify:fastify:*:*:*:*:*:node.js:*:*","part":"a","vendor":"fastify","product":"fastify","version_start_including":"5.8.3","version_end_excluding":"5.12.1"}],"cpes_truncated":false,"vendors":["fastify"],"products":["fastify/fastify"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-3m5p-2c4r-xxw2","ecosystem":"npm","name":"fastify","purl":"pkg:npm/fastify","ranges":[{"introduced":"5.8.3","fixed":"5.12.1"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2026-16732/","html_en":"/en/cve/CVE-2026-16732/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-16732","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-16732"},"untrusted":{"vendor_name":"Fastify","product_name":"Fastify","desc_en":"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 ips values, checking the connecting address. That guard closes the IP, CIDR, and custom-function forms of trustProxy correctly, because those forms compile to predicates that inspect the connecting address. The hop-count form, where trustProxy is set to a number, compiles to a predicate that structurally ignores the address, so the guard is always satisfied for any hop count of one or more. Applications configured with a numeric trustProxy value, such as trustProxy set to 1 for a single reverse proxy, remain vulnerable: an attacker who can reach the Fastify origin directly, bypassing the front-facing proxy, can spoof the forwarded request fields exactly as in the unpatched version. The impact class matches the parent CVE-2026-3635, including host injection in generated URLs, HTTPS-enforcement bypass, secure-cookie and CSRF-origin bypass, and host-based routing and cache poisoning. Affected versions are fastify from 5.8.3 up to but not including 5.12.1. Patches: patched in fastify 5.12.1, where the numeric form of trustProxy is disabled at runtime and removed from the TypeScript type union. Workarounds: migrate to an IP, CIDR, or custom-function trustProxy value that validates the connecting address, and ensure the Fastify origin is only reachable through the trusted proxy chain.","affected":[{"untrusted_vendor":"fastify","untrusted_product":"fastify","versions":[]}],"references":[{"url":"https://cna.openjsf.org/security-advisories.html","tags":["Third Party Advisory"]},{"url":"https://github.com/fastify/fastify/security/advisories/GHSA-3m5p-2c4r-xxw2","tags":["Mitigation","Vendor Advisory"]}]}}