CVE Professor
›
Back
CVE-2026-16732

CVE-2026-16732 — Fastify Fastify (tüm Sürümler) — CWE-348

MEDIUM CVSS 6.1 NVD

CVE-2026-16732 is a MEDIUM severity security vulnerability (CWE-348) (CVSS 6.1/10) affecting Fastify Fastify (tüm Sürümler). Technical vector analysis shows that an attacker can exploit this flaw via adjacent network (AV:A) without authentication (PR:N) with zero user interaction (UI:N), triggering a scope change (S:C) across connected components and allowing unauthorized disclosure of sensitive data (C:H).

📄 Official NVD / MITRE Original Record Text

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.

Published 18.08.2026
ISO Date 2026-08-18
CVSS Version v3.1
Source NVD
CVSS v3.1 Vector Metrics
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
Attack Vector Adjacent AV:A
Attack Complexity High AC:H
Privileges Req. None PR:N
User Interaction None UI:N
Scope Changed S:C
Confidentiality High C:H
Integrity None I:N
Availability None A:N
AI Security Analysis & Remediation
🤖 Generating Deep AI Security Analysis…
Analyzing CVSS vector & CWE weakness structure…

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-16732
CVSS 6.1/10 · MEDIUM · 18.08.2026
CWE: CWE-348
Vector: CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
Summary: 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 connectin…
Affected: fastify:fastify

⚡ ATTACK CHAIN
Adjacent network | no authentication required | no user interaction.
⚠️ Scope changes — impact can spread.

🌍 REAL WORLD IMPACT
All confidential data readable/stealable; pivot to other systems possible.

🛡️ REMEDIATION
→ Apply vendor security update for fastify:fastify.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
📋 Routine update cycle (30 days)

────────────────────────────────────────
[Kural Tabanlı Otomatik Güvenlik Analizi]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="fastify fastify"
CVSS Score
6.1 / 10 · CVSS MEDIUM
Weakness Types (CWE)
CWE-348
Affected Products (1)
fastify:fastify (tüm sürümler)
References & Advisories (2)
github.com advisory
Related CVEs
8.7
CVE-2026-130748
Grav from 2.0.0 before 2.2.18 contains a password reset poisoning vulnerability that allows anonymous attacker
5.3
CVE-2026-129953
NodePress through 8.5.1 contains a rate limit bypass vulnerability that allows unauthenticated attackers to ev
7.4
CVE-2026-126083
Action Pack is a framework for handling and responding to web requests. From 8.1 until 8.1.4.1, Since Rails 8.
2.3
CVE-2026-123339
Improper trust of forwarded headers in RouterListener::onKernelFinishRequest() in Symfony HttpKernel version
6.5
CVE-2026-77463
Remark42 is a self-hosted comment engine for blogs, articles, or any other place where readers can add comment
6.1
CVE-2026-120633
CGI versions before 5.00 for Perl trust the client X-Forwarded-Host header in url, self_url, virtual_host and