BreachSpiderVerified, not vibes

CVE-2026-16732 in Fastify

Medium 6.1

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...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.16.1
EPSS0.2%
EPSS percentile3th
FixUnknown

Exploitable from adjacent network, high complexity, no authentication required, no user interaction needed, can impact systems beyond the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Fastify Fastify ≥ 5.8.3, < 5.12.1

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-16732
CVSS vectorCVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
Published2026-08-18
Last modified2026-09-02
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-348: CWE-348

Related attack patterns (CAPEC)

CAPEC-76 Manipulating Web Input to File System Calls via CWE-348

CAPEC-85 AJAX Footprinting via CWE-348

CAPEC-142 DNS Cache Poisoning via CWE-348

CAPEC-73 User-Controlled Filename via CWE-348

CAPEC-141 Cache Poisoning via CWE-348

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A medium severity vulnerability (CVE-2026-16732) affects the target system. 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...

Questions

What is CVE-2026-16732?

A medium severity vulnerability (CVE-2026-16732) affects the target system. 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...

What is the CVSS score for CVE-2026-16732?

CVE-2026-16732 has CVSS 6.1 (Medium). Vector: CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N. EPSS: 0.2%.

Is CVE-2026-16732 actively exploited?

No confirmed active exploitation of CVE-2026-16732 as of 2026-09-25.

How do I remediate CVE-2026-16732?

Apply vendor patches for CVE-2026-16732. Monitor Fastify advisories.

What systems are affected by CVE-2026-16732?

CVE-2026-16732 affects Fastify Fastify.

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"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-09-02.