PT-2026-77311

CVE-2026-16732

·

Published

2026-08-18

·

Updated

2026-09-02

Description by

CVSS 3.1
6.1
Medium
MetricsAV:A/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions fastify versions 5.8.3 through 5.12.0
Description An issue exists in the handling of forwarded-header reads used to derive request host, protocol, hostname, ip, and ips values. When the trustProxy setting is configured with a numeric hop-count value, the system fails to properly validate the connecting address. This allows an attacker who can reach the origin directly, bypassing the front-facing proxy, to spoof forwarded request fields. This can lead to host injection in generated URLs, HTTPS-enforcement bypass, secure-cookie and CSRF-origin bypass, as well as host-based routing and cache poisoning.
Recommendations Update to version 5.12.1. Migrate to an IP, CIDR, or custom-function trustProxy value that validates the connecting address. Ensure the origin is only reachable through the trusted proxy chain.
Exploitability
Exploit
Fix
Vendors
Affected products
Related identifiers
GHSA-3M5P-2C4R-XXW2
Found an issue in the description? Have something to add? Feel free to write us 👾